#7F39DA#7F39DA

#7F39DA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.228 H 297.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7F39DA
RGBrgb(127, 57, 218)
HSLhsl(266, 69%, 54%)
HSVhsv(266, 74%, 85%)
CMYKcmyk(41.7%, 73.9%, 0%, 14.5%)
CIE-LABlab(42.00, 60.98, -70.55)
CIE-LCHlch(42.00, 93.25, 310.84°)
OKLaboklab(52.74% 0.1062 -0.2018)
OKLCHoklch(52.74% 0.228 297.8)
XYZxyz(22.8671, 12.4998, 67.5240)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39DA #94DA39
analogous
#3944DA #7F39DA #D039DA
triadic
#7F39DA #DA7F39 #39DA7F
tetradic
#7F39DA #DA3944 #94DA39 #39DAD0
square
#7F39DA #DA3944 #94DA39 #39DAD0
split-complementary
#7F39DA #DAD039 #44DA39
monochromatic
#451881 #6122B4 #7F39DA #A06DE4 #C2A0ED

Accessibility & contrast

On white

6.00
#7F39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7F39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39DA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39DA#FFFFFF#000000##FFFFFF
##7F39DA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#686387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f39da;
/* rgb */ color: rgb(127, 57, 218);
/* oklch */ color: oklch(52.7% 0.228 297.8);
Tailwind
colors: {
  custom: {
    50: '#ac76e7',
    500: '#7f39da',
    950: '#000000',
  },
}
SCSS
$custom: #7f39da;
$custom-light: #ac76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39da",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 266.087,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.22806,
    "h": 297.8
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#7F39DA
secondary
#BCDA95
accent
#EB3C9F
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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