#7F33BA#7F33BA

#7F33BA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.202 H 305.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7F33BA
RGBrgb(127, 51, 186)
HSLhsl(274, 57%, 46%)
HSVhsv(274, 73%, 73%)
CMYKcmyk(31.7%, 72.6%, 0%, 27.1%)
CIE-LABlab(38.59, 55.99, -57.52)
CIE-LCHlch(38.59, 80.27, 314.23°)
OKLaboklab(49.56% 0.1183 -0.1635)
OKLCHoklch(49.56% 0.202 305.9)
XYZxyz(18.7972, 10.4250, 47.4668)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33BA #6EBA33
analogous
#3C33BA #7F33BA #BA33B2
triadic
#7F33BA #BA7F33 #33BA7F
tetradic
#7F33BA #BA3C33 #6EBA33 #33B2BA
square
#7F33BA #BA3C33 #6EBA33 #33B2BA
split-complementary
#7F33BA #B2BA33 #33BA3C
monochromatic
#3D195A #5E268A #7F33BA #9D59D1 #B989DF

Accessibility & contrast

On white

6.81
#7F33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F33BA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33BA#FFFFFF#000000##FFFFFF
##7F33BA1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f33ba;
/* rgb */ color: rgb(127, 51, 186);
/* oklch */ color: oklch(49.6% 0.202 305.9);
Tailwind
colors: {
  custom: {
    50: '#a972d0',
    500: '#7f33ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f33ba;
$custom-light: #a972d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33ba",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 273.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.2018,
    "h": 305.9
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#7F33BA
secondary
#A0C980
accent
#E0488A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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