#7F33CA#7F33CA

#7F33CA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.218 H 301.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F33CA
RGBrgb(127, 51, 202)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 75%, 79%)
CMYKcmyk(37.1%, 74.8%, 0%, 20.8%)
CIE-LABlab(39.82, 59.70, -64.88)
CIE-LCHlch(39.82, 88.17, 312.62°)
OKLaboklab(50.81% 0.1151 -0.1851)
OKLCHoklch(50.81% 0.218 301.9)
XYZxyz(20.5943, 11.1439, 56.9317)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33CA #7ECA33
analogous
#3433CA #7F33CA #CA33CA
triadic
#7F33CA #CA7F33 #33CA7F
tetradic
#7F33CA #CA3433 #7ECA33 #33CACA
square
#7F33CA #CA3433 #7ECA33 #33CACA
split-complementary
#7F33CA #CACA33 #33CA34
monochromatic
#421A68 #602799 #7F33CA #9D63D8 #BC94E4

Accessibility & contrast

On white

6.50
#7F33CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F33CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33CA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33CA#FFFFFF#000000##FFFFFF
##7F33CA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#6F5A7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f33ca;
/* rgb */ color: rgb(127, 51, 202);
/* oklch */ color: oklch(50.8% 0.218 301.9);
Tailwind
colors: {
  custom: {
    50: '#ab72db',
    500: '#7f33ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f33ca;
$custom-light: #ab72db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33ca",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 270.199,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.21797,
    "h": 301.9
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#7F33CA
secondary
#ACCF8A
accent
#E34593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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