#7F33BB#7F33BB

#7F33BB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.203 H 305.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7F33BB
RGBrgb(127, 51, 187)
HSLhsl(274, 57%, 47%)
HSVhsv(274, 73%, 73%)
CMYKcmyk(32.1%, 72.7%, 0%, 26.7%)
CIE-LABlab(38.67, 56.22, -57.99)
CIE-LCHlch(38.67, 80.77, 314.11°)
OKLaboklab(49.64% 0.1181 -0.1649)
OKLCHoklch(49.64% 0.203 305.6)
XYZxyz(18.9039, 10.4677, 48.0287)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33BB #6FBB33
analogous
#3B33BB #7F33BB #BB33B3
triadic
#7F33BB #BB7F33 #33BB7F
tetradic
#7F33BB #BB3B33 #6FBB33 #33B3BB
square
#7F33BB #BB3B33 #6FBB33 #33B3BB
split-complementary
#7F33BB #B3BB33 #33BB3B
monochromatic
#3E195B #5E268B #7F33BB #9D59D2 #B989DF

Accessibility & contrast

On white

6.79
#7F33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7F33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33BB#FFFFFF#000000##FFFFFF
##7F33BB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#745374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f33bb;
/* rgb */ color: rgb(127, 51, 187);
/* oklch */ color: oklch(49.6% 0.203 305.6);
Tailwind
colors: {
  custom: {
    50: '#a972d0',
    500: '#7f33bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f33bb;
$custom-light: #a972d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33bb",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 273.529,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.20281,
    "h": 305.6
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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