#7F39CC#7F39CC

#7F39CC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.213 H 300.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7F39CC
RGBrgb(127, 57, 204)
HSLhsl(269, 59%, 51%)
HSVhsv(269, 72%, 80%)
CMYKcmyk(37.7%, 72.1%, 0%, 20%)
CIE-LABlab(40.89, 57.58, -64.30)
CIE-LCHlch(40.89, 86.31, 311.85°)
OKLaboklab(51.62% 0.1092 -0.1834)
OKLCHoklch(51.62% 0.213 300.8)
XYZxyz(21.1119, 11.7978, 58.2800)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39CC #86CC39
analogous
#393CCC #7F39CC #C839CC
triadic
#7F39CC #CC7F39 #39CC7F
tetradic
#7F39CC #CC393C #86CC39 #39CCC8
square
#7F39CC #CC393C #86CC39 #39CCC8
split-complementary
#7F39CC #CCC839 #3CCC39
monochromatic
#431C6E #61299F #7F39CC #9E6AD9 #BE9AE5

Accessibility & contrast

On white

6.25
#7F39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7F39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39CC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39CC#FFFFFF#000000##FFFFFF
##7F39CC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#6E5D7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f39cc;
/* rgb */ color: rgb(127, 57, 204);
/* oklch */ color: oklch(51.6% 0.213 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa76dd',
    500: '#7f39cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f39cc;
$custom-light: #aa76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39cc",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 268.571,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.21347,
    "h": 300.8
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#7F39CC
secondary
#B2D190
accent
#E24698
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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