#7F33BD#7F33BD

#7F33BD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.205 H 305.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7F33BD
RGBrgb(127, 51, 189)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 73%, 74%)
CMYKcmyk(32.8%, 73%, 0%, 25.9%)
CIE-LABlab(38.82, 56.68, -58.92)
CIE-LCHlch(38.82, 81.76, 313.89°)
OKLaboklab(49.79% 0.1178 -0.1676)
OKLCHoklch(49.79% 0.205 305.1)
XYZxyz(19.1195, 10.5539, 49.1641)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33BD #71BD33
analogous
#3A33BD #7F33BD #BD33B6
triadic
#7F33BD #BD7F33 #33BD7F
tetradic
#7F33BD #BD3A33 #71BD33 #33B6BD
square
#7F33BD #BD3A33 #71BD33 #33B6BD
split-complementary
#7F33BD #B6BD33 #33BD3A
monochromatic
#3E195D #5F268D #7F33BD #9D5BD3 #BA8BE0

Accessibility & contrast

On white

6.75
#7F33BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7F33BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33BD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33BD#FFFFFF#000000##FFFFFF
##7F33BD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#735475
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f33bd;
/* rgb */ color: rgb(127, 51, 189);
/* oklch */ color: oklch(49.8% 0.205 305.1);
Tailwind
colors: {
  custom: {
    50: '#a972d2',
    500: '#7f33bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f33bd;
$custom-light: #a972d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33bd",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 273.043,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.20483,
    "h": 305.1
  },
  "luminance": 0.10554
}

Semantic roles & 50–950 ramp

primary
#7F33BD
secondary
#A2CA82
accent
#E1478C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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