#7F39CF#7F39CF

#7F39CF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.217 H 300.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7F39CF
RGBrgb(127, 57, 207)
HSLhsl(268, 61%, 52%)
HSVhsv(268, 72%, 81%)
CMYKcmyk(38.6%, 72.5%, 0%, 18.8%)
CIE-LABlab(41.13, 58.30, -65.65)
CIE-LCHlch(41.13, 87.80, 311.61°)
OKLaboklab(51.85% 0.1086 -0.1874)
OKLCHoklch(51.85% 0.217 300.1)
XYZxyz(21.4752, 11.9431, 60.1932)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39CF #89CF39
analogous
#393ECF #7F39CF #CA39CF
triadic
#7F39CF #CF7F39 #39CF7F
tetradic
#7F39CF #CF393E #89CF39 #39CFCA
square
#7F39CF #CF393E #89CF39 #39CFCA
split-complementary
#7F39CF #CFCA39 #3ECF39
monochromatic
#441C72 #6128A3 #7F39CF #9F6ADB #BF9CE7

Accessibility & contrast

On white

6.20
#7F39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7F39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39CF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39CF#FFFFFF#000000##FFFFFF
##7F39CF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#6D5F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f39cf;
/* rgb */ color: rgb(127, 57, 207);
/* oklch */ color: oklch(51.9% 0.217 300.1);
Tailwind
colors: {
  custom: {
    50: '#ab76df',
    500: '#7f39cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f39cf;
$custom-light: #ab76df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39cf",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 268,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51854,
    "c": 0.21661,
    "h": 300.1
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#7F39CF
secondary
#B4D391
accent
#E44499
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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