#7F39D2#7F39D2

#7F39D2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.220 H 299.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7F39D2
RGBrgb(127, 57, 210)
HSLhsl(267, 63%, 52%)
HSVhsv(267, 73%, 82%)
CMYKcmyk(39.5%, 72.9%, 0%, 17.6%)
CIE-LABlab(41.36, 59.03, -67.00)
CIE-LCHlch(41.36, 89.30, 311.38°)
OKLaboklab(52.09% 0.108 -0.1914)
OKLCHoklch(52.09% 0.22 299.4)
XYZxyz(21.8455, 12.0912, 62.1432)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39D2 #8CD239
analogous
#3940D2 #7F39D2 #CC39D2
triadic
#7F39D2 #D27F39 #39D27F
tetradic
#7F39D2 #D23940 #8CD239 #39D2CC
square
#7F39D2 #D23940 #8CD239 #39D2CC
split-complementary
#7F39D2 #D2CC39 #40D239
monochromatic
#441B76 #6126A8 #7F39D2 #9F6BDD #BF9DE9

Accessibility & contrast

On white

6.14
#7F39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7F39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39D2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39D2#FFFFFF#000000##FFFFFF
##7F39D21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#6B6083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f39d2;
/* rgb */ color: rgb(127, 57, 210);
/* oklch */ color: oklch(52.1% 0.220 299.4);
Tailwind
colors: {
  custom: {
    50: '#ab76e1',
    500: '#7f39d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f39d2;
$custom-light: #ab76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39d2",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 267.451,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.21974,
    "h": 299.4
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#7F39D2
secondary
#B6D592
accent
#E6429B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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