#7F39CA#7F39CA

#7F39CA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.211 H 301.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F39CA
RGBrgb(127, 57, 202)
HSLhsl(269, 58%, 51%)
HSVhsv(269, 72%, 79%)
CMYKcmyk(37.1%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.74, 57.10, -63.39)
CIE-LCHlch(40.74, 85.31, 312.01°)
OKLaboklab(51.46% 0.1096 -0.1808)
OKLCHoklch(51.46% 0.211 301.2)
XYZxyz(20.8736, 11.7024, 57.0248)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39CA #84CA39
analogous
#393BCA #7F39CA #C839CA
triadic
#7F39CA #CA7F39 #39CA7F
tetradic
#7F39CA #CA393B #84CA39 #39CAC8
square
#7F39CA #CA393B #84CA39 #39CAC8
split-complementary
#7F39CA #CAC839 #3BCA39
monochromatic
#431D6C #612A9C #7F39CA #9E69D7 #BD9AE4

Accessibility & contrast

On white

6.29
#7F39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7F39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39CA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39CA#FFFFFF#000000##FFFFFF
##7F39CA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6F5D7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f39ca;
/* rgb */ color: rgb(127, 57, 202);
/* oklch */ color: oklch(51.5% 0.211 301.2);
Tailwind
colors: {
  custom: {
    50: '#aa75db',
    500: '#7f39ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f39ca;
$custom-light: #aa75db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39ca",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 268.966,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.21138,
    "h": 301.2
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#7F39CA
secondary
#B1D08F
accent
#E14797
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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