#7F39BD#7F39BD

#7F39BD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.198 H 304.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7F39BD
RGBrgb(127, 57, 189)
HSLhsl(272, 54%, 48%)
HSVhsv(272, 70%, 74%)
CMYKcmyk(32.8%, 69.8%, 0%, 25.9%)
CIE-LABlab(39.77, 54.00, -57.38)
CIE-LCHlch(39.77, 78.79, 313.26°)
OKLaboklab(50.47% 0.1118 -0.1631)
OKLCHoklch(50.47% 0.198 304.4)
XYZxyz(19.3988, 11.1125, 49.2572)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39BD #77BD39
analogous
#3D39BD #7F39BD #BD39B9
triadic
#7F39BD #BD7F39 #39BD7F
tetradic
#7F39BD #BD3D39 #77BD39 #39B9BD
square
#7F39BD #BD3D39 #77BD39 #39B9BD
split-complementary
#7F39BD #B9BD39 #39BD3D
monochromatic
#401D5F #5F2B8E #7F39BD #9D63D0 #BB92DE

Accessibility & contrast

On white

6.52
#7F39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7F39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39BD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39BD#FFFFFF#000000##FFFFFF
##7F39BD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#735877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f39bd;
/* rgb */ color: rgb(127, 57, 189);
/* oklch */ color: oklch(50.5% 0.198 304.4);
Tailwind
colors: {
  custom: {
    50: '#a975d2',
    500: '#7f39bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f39bd;
$custom-light: #a975d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39bd",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 271.818,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.19772,
    "h": 304.4
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#7F39BD
secondary
#A7C989
accent
#DD4B8F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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