#7F39C8#7F39C8

#7F39C8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.209 H 301.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7F39C8
RGBrgb(127, 57, 200)
HSLhsl(269, 57%, 50%)
HSVhsv(269, 72%, 78%)
CMYKcmyk(36.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(40.59, 56.62, -62.47)
CIE-LCHlch(40.59, 84.31, 312.19°)
OKLaboklab(51.3% 0.11 -0.1781)
OKLCHoklch(51.3% 0.209 301.7)
XYZxyz(20.6383, 11.6083, 55.7857)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39C8 #82C839
analogous
#393AC8 #7F39C8 #C739C8
triadic
#7F39C8 #C87F39 #39C87F
tetradic
#7F39C8 #C8393A #82C839 #39C8C7
square
#7F39C8 #C8393A #82C839 #39C8C7
split-complementary
#7F39C8 #C8C739 #3AC839
monochromatic
#431D69 #612B99 #7F39C8 #9E69D5 #BD99E3

Accessibility & contrast

On white

6.32
#7F39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7F39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39C8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39C8#FFFFFF#000000##FFFFFF
##7F39C81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#6F5C7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f39c8;
/* rgb */ color: rgb(127, 57, 200);
/* oklch */ color: oklch(51.3% 0.209 301.7);
Tailwind
colors: {
  custom: {
    50: '#aa75da',
    500: '#7f39c8',
    950: '#000000',
  },
}
SCSS
$custom: #7f39c8;
$custom-light: #aa75da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39c8",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 269.371,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.20928,
    "h": 301.7
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#7F39C8
secondary
#AFCE8F
accent
#E04895
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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