#7F33D2#7F33D2

#7F33D2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.226 H 300.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7F33D2
RGBrgb(127, 51, 210)
HSLhsl(269, 64%, 51%)
HSVhsv(269, 76%, 82%)
CMYKcmyk(39.5%, 75.7%, 0%, 17.6%)
CIE-LABlab(40.46, 61.59, -68.46)
CIE-LCHlch(40.46, 92.09, 311.97°)
OKLaboklab(51.46% 0.1132 -0.1956)
OKLCHoklch(51.46% 0.226 300.1)
XYZxyz(21.5662, 11.5326, 62.0501)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33D2 #86D233
analogous
#3336D2 #7F33D2 #CE33D2
triadic
#7F33D2 #D27F33 #33D27F
tetradic
#7F33D2 #D23336 #86D233 #33D2CE
square
#7F33D2 #D23336 #86D233 #33D2CE
split-complementary
#7F33D2 #D2CE33 #36D233
monochromatic
#431972 #6124A4 #7F33D2 #9E65DD #BE97E8

Accessibility & contrast

On white

6.35
#7F33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7F33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33D2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33D2#FFFFFF#000000##FFFFFF
##7F33D21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#6C5D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f33d2;
/* rgb */ color: rgb(127, 51, 210);
/* oklch */ color: oklch(51.5% 0.226 300.1);
Tailwind
colors: {
  custom: {
    50: '#ab73e1',
    500: '#7f33d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f33d2;
$custom-light: #ab73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33d2",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 268.679,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.22602,
    "h": 300.1
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#7F33D2
secondary
#B2D48D
accent
#E74198
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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