#7F33CC#7F33CC

#7F33CC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.220 H 301.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7F33CC
RGBrgb(127, 51, 204)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 75%, 80%)
CMYKcmyk(37.7%, 75%, 0%, 20%)
CIE-LABlab(39.98, 60.17, -65.78)
CIE-LCHlch(39.98, 89.15, 312.45°)
OKLaboklab(50.97% 0.1146 -0.1878)
OKLCHoklch(50.97% 0.22 301.4)
XYZxyz(20.8327, 11.2392, 58.1869)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33CC #80CC33
analogous
#3333CC #7F33CC #CC33CC
triadic
#7F33CC #CC7F33 #33CC7F
tetradic
#7F33CC #CC3333 #80CC33 #33CCCC
square
#7F33CC #CC3333 #80CC33 #33CCCC
split-complementary
#7F33CC #CCCC33 #33CC33
monochromatic
#421B6A #61279B #7F33CC #9E64D8 #BC95E4

Accessibility & contrast

On white

6.47
#7F33CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7F33CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33CC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33CC#FFFFFF#000000##FFFFFF
##7F33CC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#6E5A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f33cc;
/* rgb */ color: rgb(127, 51, 204);
/* oklch */ color: oklch(51.0% 0.220 301.4);
Tailwind
colors: {
  custom: {
    50: '#ab72dd',
    500: '#7f33cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f33cc;
$custom-light: #ab72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33cc",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 269.804,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.21998,
    "h": 301.4
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#7F33CC
secondary
#AED08B
accent
#E34594
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33CC

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

Preview Lab → · Contrast checker → · Palette generator →

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