#7F33AF#7F33AF

#7F33AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.191 H 309.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7F33AF
RGBrgb(127, 51, 175)
HSLhsl(277, 55%, 44%)
HSVhsv(277, 71%, 69%)
CMYKcmyk(27.4%, 70.9%, 0%, 31.4%)
CIE-LABlab(37.80, 53.49, -52.30)
CIE-LCHlch(37.80, 74.81, 315.64°)
OKLaboklab(48.75% 0.12 -0.1481)
OKLCHoklch(48.75% 0.191 309)
XYZxyz(17.6725, 9.9751, 41.5435)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33AF #63AF33
analogous
#4133AF #7F33AF #AF33A1
triadic
#7F33AF #AF7F33 #33AF7F
tetradic
#7F33AF #AF4133 #63AF33 #33A1AF
square
#7F33AF #AF4133 #63AF33 #33A1AF
split-complementary
#7F33AF #A1AF33 #33AF41
monochromatic
#3A1750 #5D2580 #7F33AF #9D52CD #B882DB

Accessibility & contrast

On white

7.01
#7F33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7F33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F33AF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33AF#FFFFFF#000000##FFFFFF
##7F33AF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#784F6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f33af;
/* rgb */ color: rgb(127, 51, 175);
/* oklch */ color: oklch(48.7% 0.191 309.0);
Tailwind
colors: {
  custom: {
    50: '#a871c8',
    500: '#7f33af',
    950: '#000000',
  },
}
SCSS
$custom: #7f33af;
$custom-light: #a871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33af",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 276.774,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.19067,
    "h": 309
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#7F33AF
secondary
#97C47A
accent
#DE4A83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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