#7F33C7#7F33C7

#7F33C7 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.215 H 302.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F33C7
RGBrgb(127, 51, 199)
HSLhsl(271, 59%, 49%)
HSVhsv(271, 74%, 78%)
CMYKcmyk(36.2%, 74.4%, 0%, 22%)
CIE-LABlab(39.59, 59.00, -63.52)
CIE-LCHlch(39.59, 86.69, 312.89°)
OKLaboklab(50.57% 0.1157 -0.1811)
OKLCHoklch(50.57% 0.215 302.6)
XYZxyz(20.2426, 11.0032, 55.0791)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33C7 #7BC733
analogous
#3533C7 #7F33C7 #C733C5
triadic
#7F33C7 #C77F33 #33C77F
tetradic
#7F33C7 #C73533 #7BC733 #33C5C7
square
#7F33C7 #C73533 #7BC733 #33C5C7
split-complementary
#7F33C7 #C5C733 #33C735
monochromatic
#411A66 #602796 #7F33C7 #9D61D6 #BB91E3

Accessibility & contrast

On white

6.56
#7F33C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F33C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33C7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33C7#FFFFFF#000000##FFFFFF
##7F33C71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#70587B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f33c7;
/* rgb */ color: rgb(127, 51, 199);
/* oklch */ color: oklch(50.6% 0.215 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa72d9',
    500: '#7f33c7',
    950: '#000000',
  },
}
SCSS
$custom: #7f33c7;
$custom-light: #aa72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33c7",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 270.811,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.21494,
    "h": 302.6
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#7F33C7
secondary
#AACE88
accent
#E24592
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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