#7F39D5#7F39D5

#7F39D5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.223 H 298.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7F39D5
RGBrgb(127, 57, 213)
HSLhsl(267, 65%, 53%)
HSVhsv(267, 73%, 84%)
CMYKcmyk(40.4%, 73.2%, 0%, 16.5%)
CIE-LABlab(41.60, 59.76, -68.34)
CIE-LCHlch(41.60, 90.78, 311.17°)
OKLaboklab(52.34% 0.1073 -0.1953)
OKLCHoklch(52.34% 0.223 298.8)
XYZxyz(22.2227, 12.2421, 64.1300)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39D5 #8FD539
analogous
#3941D5 #7F39D5 #CD39D5
triadic
#7F39D5 #D57F39 #39D57F
tetradic
#7F39D5 #D53941 #8FD539 #39D5CD
square
#7F39D5 #D53941 #8FD539 #39D5CD
split-complementary
#7F39D5 #D5CD39 #41D539
monochromatic
#451A7A #6125AC #7F39D5 #A06BE0 #C09EEA

Accessibility & contrast

On white

6.09
#7F39D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7F39D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39D5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39D5#FFFFFF#000000##FFFFFF
##7F39D51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#6A6184
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f39d5;
/* rgb */ color: rgb(127, 57, 213);
/* oklch */ color: oklch(52.3% 0.223 298.8);
Tailwind
colors: {
  custom: {
    50: '#ab76e3',
    500: '#7f39d5',
    950: '#000000',
  },
}
SCSS
$custom: #7f39d5;
$custom-light: #ab76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39d5",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 266.923,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.22287,
    "h": 298.8
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#7F39D5
secondary
#B8D793
accent
#E8409D
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F39D5

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

Preview Lab → · Contrast checker → · Palette generator →

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