#7F33C8#7F33C8

#7F33C8 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.216 H 302.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F33C8
RGBrgb(127, 51, 200)
HSLhsl(271, 59%, 49%)
HSVhsv(271, 75%, 78%)
CMYKcmyk(36.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(39.66, 59.23, -63.97)
CIE-LCHlch(39.66, 87.18, 312.80°)
OKLaboklab(50.65% 0.1155 -0.1824)
OKLCHoklch(50.65% 0.216 302.3)
XYZxyz(20.3591, 11.0498, 55.6926)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33C8 #7CC833
analogous
#3433C8 #7F33C8 #C833C7
triadic
#7F33C8 #C87F33 #33C87F
tetradic
#7F33C8 #C83433 #7CC833 #33C7C8
square
#7F33C8 #C83433 #7CC833 #33C7C8
split-complementary
#7F33C8 #C7C833 #33C834
monochromatic
#411A66 #602797 #7F33C8 #9D61D7 #BC92E3

Accessibility & contrast

On white

6.54
#7F33C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7F33C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33C8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33C8#FFFFFF#000000##FFFFFF
##7F33C81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#70597B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f33c8;
/* rgb */ color: rgb(127, 51, 200);
/* oklch */ color: oklch(50.7% 0.216 302.3);
Tailwind
colors: {
  custom: {
    50: '#aa72da',
    500: '#7f33c8',
    950: '#000000',
  },
}
SCSS
$custom: #7f33c8;
$custom-light: #aa72da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33c8",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 270.604,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.21595,
    "h": 302.3
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#7F33C8
secondary
#ABCE89
accent
#E34592
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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