#7F33B9#7F33B9

#7F33B9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.201 H 306.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7F33B9
RGBrgb(127, 51, 185)
HSLhsl(274, 57%, 46%)
HSVhsv(274, 72%, 73%)
CMYKcmyk(31.4%, 72.4%, 0%, 27.5%)
CIE-LABlab(38.52, 55.76, -57.05)
CIE-LCHlch(38.52, 79.77, 314.34°)
OKLaboklab(49.49% 0.1185 -0.1621)
OKLCHoklch(49.49% 0.201 306.2)
XYZxyz(18.6913, 10.3826, 46.9089)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33B9 #6DB933
analogous
#3C33B9 #7F33B9 #B933B0
triadic
#7F33B9 #B97F33 #33B97F
tetradic
#7F33B9 #B93C33 #6DB933 #33B0B9
square
#7F33B9 #B93C33 #6DB933 #33B0B9
split-complementary
#7F33B9 #B0B933 #33B93C
monochromatic
#3D1959 #5E2689 #7F33B9 #9D58D1 #B988DE

Accessibility & contrast

On white

6.83
#7F33B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7F33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33B9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33B9#FFFFFF#000000##FFFFFF
##7F33B91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#755373
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f33b9;
/* rgb */ color: rgb(127, 51, 185);
/* oklch */ color: oklch(49.5% 0.201 306.2);
Tailwind
colors: {
  custom: {
    50: '#a972cf',
    500: '#7f33b9',
    950: '#000000',
  },
}
SCSS
$custom: #7f33b9;
$custom-light: #a972cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33b9",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 274.03,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.20078,
    "h": 306.2
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#7F33B9
secondary
#9FC880
accent
#E0488A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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