#7F33C6#7F33C6

#7F33C6 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.214 H 302.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7F33C6
RGBrgb(127, 51, 198)
HSLhsl(271, 59%, 49%)
HSVhsv(271, 74%, 78%)
CMYKcmyk(35.9%, 74.2%, 0%, 22.4%)
CIE-LABlab(39.51, 58.77, -63.06)
CIE-LCHlch(39.51, 86.20, 312.98°)
OKLaboklab(50.49% 0.116 -0.1798)
OKLCHoklch(50.49% 0.214 302.8)
XYZxyz(20.1269, 10.9569, 54.4697)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33C6 #7AC633
analogous
#3533C6 #7F33C6 #C633C4
triadic
#7F33C6 #C67F33 #33C67F
tetradic
#7F33C6 #C63533 #7AC633 #33C4C6
square
#7F33C6 #C63533 #7AC633 #33C4C6
split-complementary
#7F33C6 #C4C633 #33C635
monochromatic
#411A65 #602695 #7F33C6 #9D60D6 #BB91E3

Accessibility & contrast

On white

6.58
#7F33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7F33C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33C6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33C6#FFFFFF#000000##FFFFFF
##7F33C61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#70587A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f33c6;
/* rgb */ color: rgb(127, 51, 198);
/* oklch */ color: oklch(50.5% 0.214 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa72d8',
    500: '#7f33c6',
    950: '#000000',
  },
}
SCSS
$custom: #7f33c6;
$custom-light: #aa72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33c6",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 271.02,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.21393,
    "h": 302.8
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#7F33C6
secondary
#A9CD87
accent
#E24691
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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