#7F33AA#7F33AA

#7F33AA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.186 H 310.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7F33AA
RGBrgb(127, 51, 170)
HSLhsl(278, 54%, 43%)
HSVhsv(278, 70%, 67%)
CMYKcmyk(25.3%, 70%, 0%, 33.3%)
CIE-LABlab(37.45, 52.38, -49.89)
CIE-LCHlch(37.45, 72.34, 316.39°)
OKLaboklab(48.39% 0.1206 -0.141)
OKLCHoklch(48.39% 0.186 310.5)
XYZxyz(17.1905, 9.7823, 39.0050)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33AA #5EAA33
analogous
#4333AA #7F33AA #AA3399
triadic
#7F33AA #AA7F33 #33AA7F
tetradic
#7F33AA #AA4333 #5EAA33 #3399AA
square
#7F33AA #AA4333 #5EAA33 #3399AA
split-complementary
#7F33AA #99AA33 #33AA43
monochromatic
#39174C #5C257B #7F33AA #9E50CA #B87FD9

Accessibility & contrast

On white

7.10
#7F33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7F33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F33AA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33AA#FFFFFF#000000##FFFFFF
##7F33AA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#794D6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7f33aa;
/* rgb */ color: rgb(127, 51, 170);
/* oklch */ color: oklch(48.4% 0.186 310.5);
Tailwind
colors: {
  custom: {
    50: '#a871c4',
    500: '#7f33aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f33aa;
$custom-light: #a871c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33aa",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 278.319,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.1856,
    "h": 310.5
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#7F33AA
secondary
#92C277
accent
#DD4B80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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