#7F33CF#7F33CF

#7F33CF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.223 H 300.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7F33CF
RGBrgb(127, 51, 207)
HSLhsl(269, 62%, 51%)
HSVhsv(269, 75%, 81%)
CMYKcmyk(38.6%, 75.4%, 0%, 18.8%)
CIE-LABlab(40.22, 60.88, -67.13)
CIE-LCHlch(40.22, 90.62, 312.20°)
OKLaboklab(51.22% 0.1139 -0.1917)
OKLCHoklch(51.22% 0.223 300.7)
XYZxyz(21.1959, 11.3845, 60.1001)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33CF #83CF33
analogous
#3335CF #7F33CF #CD33CF
triadic
#7F33CF #CF7F33 #33CF7F
tetradic
#7F33CF #CF3335 #83CF33 #33CFCD
square
#7F33CF #CF3335 #83CF33 #33CFCD
split-complementary
#7F33CF #CFCD33 #35CF33
monochromatic
#431A6E #61259F #7F33CF #9E65DB #BD96E6

Accessibility & contrast

On white

6.41
#7F33CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7F33CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33CF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33CF#FFFFFF#000000##FFFFFF
##7F33CF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#6D5C7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f33cf;
/* rgb */ color: rgb(127, 51, 207);
/* oklch */ color: oklch(51.2% 0.223 300.7);
Tailwind
colors: {
  custom: {
    50: '#ab73df',
    500: '#7f33cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f33cf;
$custom-light: #ab73df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33cf",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 207
  },
  "hsl": {
    "h": 269.231,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.22301,
    "h": 300.7
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#7F33CF
secondary
#B0D28C
accent
#E54396
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33CF

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

Preview Lab → · Contrast checker → · Palette generator →

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