#7E39CD#7E39CD

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

Color values

HEX#7E39CD
RGBrgb(126, 57, 205)
HSLhsl(268, 60%, 51%)
HSVhsv(268, 72%, 80%)
CMYKcmyk(38.5%, 72.2%, 0%, 19.6%)
CIE-LABlab(40.85, 57.64, -64.95)
CIE-LCHlch(40.85, 86.84, 311.59°)
OKLaboklab(51.58% 0.1076 -0.1854)
OKLCHoklch(51.58% 0.214 300.1)
XYZxyz(21.0840, 11.7695, 58.9067)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39CD #88CD39
analogous
#393ECD #7E39CD #C839CD
triadic
#7E39CD #CD7E39 #39CD7E
tetradic
#7E39CD #CD393E #88CD39 #39CDC8
square
#7E39CD #CD393E #88CD39 #39CDC8
split-complementary
#7E39CD #CDC839 #3ECD39
monochromatic
#431C6F #6028A0 #7E39CD #9E6AD9 #BE9BE6

Accessibility & contrast

On white

6.26
#7E39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7E39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E39CD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39CD#FFFFFF#000000##FFFFFF
##7E39CD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#6C5E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e39cd;
/* rgb */ color: rgb(126, 57, 205);
/* oklch */ color: oklch(51.6% 0.214 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa75dd',
    500: '#7e39cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e39cd;
$custom-light: #aa75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39cd",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 267.973,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.21436,
    "h": 300.1
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#7E39CD
secondary
#B3D290
accent
#E34599
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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