#7427B2#7427B2

#7427B2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.204 H 304.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7427B2
RGBrgb(116, 39, 178)
HSLhsl(273, 64%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(34.8%, 78.1%, 0%, 30.2%)
CIE-LABlab(34.76, 57.07, -59.09)
CIE-LCHlch(34.76, 82.15, 314.00°)
OKLaboklab(46.35% 0.1156 -0.1684)
OKLCHoklch(46.35% 0.204 304.5)
XYZxyz(15.9620, 8.3785, 42.8871)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427B2 #65B227
analogous
#2E27B2 #7427B2 #B227AB
triadic
#7427B2 #B27427 #27B274
tetradic
#7427B2 #B22E27 #65B227 #27ABB2
square
#7427B2 #B22E27 #65B227 #27ABB2
split-complementary
#7427B2 #ABB227 #27B22E
monochromatic
#33114E #531C80 #7427B2 #9341D5 #B073E0

Accessibility & contrast

On white

7.85
#7427B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7427B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427B2#FFFFFF#000000##FFFFFF
##7427B21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#684B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7427b2;
/* rgb */ color: rgb(116, 39, 178);
/* oklch */ color: oklch(46.3% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#a26aca',
    500: '#7427b2',
    950: '#000000',
  },
}
SCSS
$custom: #7427b2;
$custom-light: #a26aca;
$custom-dark: #000000;
JSON
{
  "hex": "#7427b2",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 273.237,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.20423,
    "h": 304.5
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#7427B2
secondary
#96C86D
accent
#E7418B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7427B2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7427B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva