#7F33C4#7F33C4

#7F33C4 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.212 H 303.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7F33C4
RGBrgb(127, 51, 196)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 77%)
CMYKcmyk(35.2%, 74%, 0%, 23.1%)
CIE-LABlab(39.35, 58.30, -62.15)
CIE-LCHlch(39.35, 85.21, 313.17°)
OKLaboklab(50.33% 0.1164 -0.1771)
OKLCHoklch(50.33% 0.212 303.3)
XYZxyz(19.8977, 10.8652, 53.2628)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33C4 #78C433
analogous
#3633C4 #7F33C4 #C433C0
triadic
#7F33C4 #C47F33 #33C47F
tetradic
#7F33C4 #C43633 #78C433 #33C0C4
square
#7F33C4 #C43633 #78C433 #33C0C4
split-complementary
#7F33C4 #C0C433 #33C436
monochromatic
#401A63 #602693 #7F33C4 #9D5FD5 #BB8FE2

Accessibility & contrast

On white

6.62
#7F33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7F33C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33C4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33C4#FFFFFF#000000##FFFFFF
##7F33C41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#715779
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f33c4;
/* rgb */ color: rgb(127, 51, 196);
/* oklch */ color: oklch(50.3% 0.212 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa72d7',
    500: '#7f33c4',
    950: '#000000',
  },
}
SCSS
$custom: #7f33c4;
$custom-light: #aa72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33c4",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 271.448,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.21191,
    "h": 303.3
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#7F33C4
secondary
#A8CD86
accent
#E24690
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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