#7F33BF#7F33BF

#7F33BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.207 H 304.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7F33BF
RGBrgb(127, 51, 191)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 73%, 75%)
CMYKcmyk(33.5%, 73.3%, 0%, 25.1%)
CIE-LABlab(38.97, 57.14, -59.85)
CIE-LCHlch(38.97, 82.74, 313.67°)
OKLaboklab(49.95% 0.1174 -0.1703)
OKLCHoklch(49.95% 0.207 304.6)
XYZxyz(19.3381, 10.6414, 50.3153)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33BF #73BF33
analogous
#3933BF #7F33BF #BF33B9
triadic
#7F33BF #BF7F33 #33BF7F
tetradic
#7F33BF #BF3933 #73BF33 #33B9BF
square
#7F33BF #BF3933 #73BF33 #33B9BF
split-complementary
#7F33BF #B9BF33 #33BF39
monochromatic
#3F195E #5F268F #7F33BF #9D5CD3 #BA8CE0

Accessibility & contrast

On white

6.71
#7F33BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7F33BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33BF#FFFFFF#000000##FFFFFF
##7F33BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#735576
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f33bf;
/* rgb */ color: rgb(127, 51, 191);
/* oklch */ color: oklch(49.9% 0.207 304.6);
Tailwind
colors: {
  custom: {
    50: '#aa72d3',
    500: '#7f33bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f33bf;
$custom-light: #aa72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33bf",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 272.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.20686,
    "h": 304.6
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#7F33BF
secondary
#A4CB83
accent
#E1478D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F33BF

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

Preview Lab → · Contrast checker → · Palette generator →

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