#7F33C3#7F33C3

#7F33C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.211 H 303.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7F33C3
RGBrgb(127, 51, 195)
HSLhsl(272, 59%, 48%)
HSVhsv(272, 74%, 76%)
CMYKcmyk(34.9%, 73.8%, 0%, 23.5%)
CIE-LABlab(39.28, 58.07, -61.69)
CIE-LCHlch(39.28, 84.72, 313.27°)
OKLaboklab(50.26% 0.1166 -0.1757)
OKLCHoklch(50.26% 0.211 303.6)
XYZxyz(19.7843, 10.8198, 52.6653)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33C3 #77C333
analogous
#3733C3 #7F33C3 #C333BF
triadic
#7F33C3 #C37F33 #33C37F
tetradic
#7F33C3 #C33733 #77C333 #33BFC3
square
#7F33C3 #C33733 #77C333 #33BFC3
split-complementary
#7F33C3 #BFC333 #33C337
monochromatic
#401A62 #5F2692 #7F33C3 #9D5ED5 #BB8FE2

Accessibility & contrast

On white

6.64
#7F33C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F33C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33C3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33C3#FFFFFF#000000##FFFFFF
##7F33C31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#715779
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f33c3;
/* rgb */ color: rgb(127, 51, 195);
/* oklch */ color: oklch(50.3% 0.211 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa72d6',
    500: '#7f33c3',
    950: '#000000',
  },
}
SCSS
$custom: #7f33c3;
$custom-light: #aa72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33c3",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 195
  },
  "hsl": {
    "h": 271.667,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.2109,
    "h": 303.6
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#7F33C3
secondary
#A7CC86
accent
#E24690
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F33C3

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

Preview Lab → · Contrast checker → · Palette generator →

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