#7F33BE#7F33BE

#7F33BE is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.206 H 304.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F33BE
RGBrgb(127, 51, 190)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 73%, 75%)
CMYKcmyk(33.2%, 73.2%, 0%, 25.5%)
CIE-LABlab(38.89, 56.91, -59.38)
CIE-LCHlch(38.89, 82.25, 313.78°)
OKLaboklab(49.87% 0.1176 -0.169)
OKLCHoklch(49.87% 0.206 304.8)
XYZxyz(19.2284, 10.5975, 49.7377)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33BE #72BE33
analogous
#3A33BE #7F33BE #BE33B7
triadic
#7F33BE #BE7F33 #33BE7F
tetradic
#7F33BE #BE3A33 #72BE33 #33B7BE
square
#7F33BE #BE3A33 #72BE33 #33B7BE
split-complementary
#7F33BE #B7BE33 #33BE3A
monochromatic
#3E195E #5F268E #7F33BE #9D5BD3 #BA8BE0

Accessibility & contrast

On white

6.73
#7F33BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F33BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33BE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33BE#FFFFFF#000000##FFFFFF
##7F33BE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#735576
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f33be;
/* rgb */ color: rgb(127, 51, 190);
/* oklch */ color: oklch(49.9% 0.206 304.8);
Tailwind
colors: {
  custom: {
    50: '#a972d2',
    500: '#7f33be',
    950: '#000000',
  },
}
SCSS
$custom: #7f33be;
$custom-light: #a972d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33be",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 272.806,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49868,
    "c": 0.20585,
    "h": 304.8
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#7F33BE
secondary
#A3CA83
accent
#E1478D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F33BE

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

Preview Lab → · Contrast checker → · Palette generator →

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