#7F3EC9#7F3EC9

#7F3EC9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.204 H 300.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7F3EC9
RGBrgb(127, 62, 201)
HSLhsl(268, 56%, 52%)
HSVhsv(268, 69%, 79%)
CMYKcmyk(36.8%, 69.2%, 0%, 21.2%)
CIE-LABlab(41.49, 54.53, -61.58)
CIE-LCHlch(41.49, 82.26, 311.53°)
OKLaboklab(51.97% 0.1048 -0.1755)
OKLCHoklch(51.97% 0.204 300.8)
XYZxyz(21.0151, 12.1742, 56.4897)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3EC9 #88C93E
analogous
#3E43C9 #7F3EC9 #C53EC9
triadic
#7F3EC9 #C97F3E #3EC97F
tetradic
#7F3EC9 #C93E43 #88C93E #3EC9C5
square
#7F3EC9 #C93E43 #88C93E #3EC9C5
split-complementary
#7F3EC9 #C9C53E #43C93E
monochromatic
#441F6E #612C9E #7F3EC9 #9F6ED6 #BE9EE4

Accessibility & contrast

On white

6.11
#7F3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7F3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3EC9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3EC9#FFFFFF#000000##FFFFFF
##7F3EC91.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#6F5F7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3ec9;
/* rgb */ color: rgb(127, 62, 201);
/* oklch */ color: oklch(52.0% 0.204 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa78da',
    500: '#7f3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ec9;
$custom-light: #aa78da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ec9",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 268.058,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.2044,
    "h": 300.8
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#7F3EC9
secondary
#B3D093
accent
#E04899
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

#7F3EC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva