#7F33BC#7F33BC

#7F33BC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.204 H 305.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7F33BC
RGBrgb(127, 51, 188)
HSLhsl(273, 57%, 47%)
HSVhsv(273, 73%, 74%)
CMYKcmyk(32.4%, 72.9%, 0%, 26.3%)
CIE-LABlab(38.74, 56.45, -58.45)
CIE-LCHlch(38.74, 81.26, 314.00°)
OKLaboklab(49.72% 0.118 -0.1662)
OKLCHoklch(49.72% 0.204 305.4)
XYZxyz(19.0113, 10.5107, 48.5944)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33BC #70BC33
analogous
#3B33BC #7F33BC #BC33B5
triadic
#7F33BC #BC7F33 #33BC7F
tetradic
#7F33BC #BC3B33 #70BC33 #33B5BC
square
#7F33BC #BC3B33 #70BC33 #33B5BC
split-complementary
#7F33BC #B5BC33 #33BC3B
monochromatic
#3E195C #5E268C #7F33BC #9D5AD2 #B98ADF

Accessibility & contrast

On white

6.77
#7F33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7F33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33BC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33BC#FFFFFF#000000##FFFFFF
##7F33BC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#745475
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f33bc;
/* rgb */ color: rgb(127, 51, 188);
/* oklch */ color: oklch(49.7% 0.204 305.4);
Tailwind
colors: {
  custom: {
    50: '#a972d1',
    500: '#7f33bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f33bc;
$custom-light: #a972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33bc",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 273.285,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49715,
    "c": 0.20382,
    "h": 305.4
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#7F33BC
secondary
#A1C981
accent
#E1478C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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