#7F33B3#7F33B3

#7F33B3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.195 H 307.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7F33B3
RGBrgb(127, 51, 179)
HSLhsl(276, 56%, 45%)
HSVhsv(276, 72%, 70%)
CMYKcmyk(29.1%, 71.5%, 0%, 29.8%)
CIE-LABlab(38.08, 54.39, -54.22)
CIE-LCHlch(38.08, 76.80, 315.09°)
OKLaboklab(49.04% 0.1195 -0.1538)
OKLCHoklch(49.04% 0.195 307.8)
XYZxyz(18.0712, 10.1346, 43.6433)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33B3 #67B333
analogous
#3F33B3 #7F33B3 #B333A7
triadic
#7F33B3 #B37F33 #33B37F
tetradic
#7F33B3 #B33F33 #67B333 #33A7B3
square
#7F33B3 #B33F33 #67B333 #33A7B3
split-complementary
#7F33B3 #A7B333 #33B33F
monochromatic
#3B1854 #5D2583 #7F33B3 #9D55CE #B884DC

Accessibility & contrast

On white

6.94
#7F33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33B3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33B3#FFFFFF#000000##FFFFFF
##7F33B31.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#775070
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f33b3;
/* rgb */ color: rgb(127, 51, 179);
/* oklch */ color: oklch(49.0% 0.195 307.8);
Tailwind
colors: {
  custom: {
    50: '#a971cb',
    500: '#7f33b3',
    950: '#000000',
  },
}
SCSS
$custom: #7f33b3;
$custom-light: #a971cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33b3",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 275.625,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49038,
    "c": 0.19471,
    "h": 307.8
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#7F33B3
secondary
#9AC67C
accent
#DF4986
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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