#7F33D4#7F33D4

#7F33D4 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.228 H 299.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7F33D4
RGBrgb(127, 51, 212)
HSLhsl(268, 65%, 52%)
HSVhsv(268, 76%, 83%)
CMYKcmyk(40.1%, 75.9%, 0%, 16.9%)
CIE-LABlab(40.63, 62.06, -69.35)
CIE-LCHlch(40.63, 93.06, 311.82°)
OKLaboklab(51.63% 0.1127 -0.1982)
OKLCHoklch(51.63% 0.228 299.6)
XYZxyz(21.8169, 11.6329, 63.3705)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33D4 #88D433
analogous
#3338D4 #7F33D4 #D033D4
triadic
#7F33D4 #D47F33 #33D47F
tetradic
#7F33D4 #D43338 #88D433 #33D4D0
square
#7F33D4 #D43338 #88D433 #33D4D0
split-complementary
#7F33D4 #D4D033 #38D433
monochromatic
#441874 #6123A7 #7F33D4 #9F66DF #BE98E9

Accessibility & contrast

On white

6.31
#7F33D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7F33D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33D4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33D4#FFFFFF#000000##FFFFFF
##7F33D41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#6B5E82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f33d4;
/* rgb */ color: rgb(127, 51, 212);
/* oklch */ color: oklch(51.6% 0.228 299.6);
Tailwind
colors: {
  custom: {
    50: '#ab73e2',
    500: '#7f33d4',
    950: '#000000',
  },
}
SCSS
$custom: #7f33d4;
$custom-light: #ab73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33d4",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 212
  },
  "hsl": {
    "h": 268.323,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.22804,
    "h": 299.6
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#7F33D4
secondary
#B3D58E
accent
#E84099
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F33D4

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

Preview Lab → · Contrast checker → · Palette generator →

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