#7F33C0#7F33C0

#7F33C0 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.208 H 304.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7F33C0
RGBrgb(127, 51, 192)
HSLhsl(272, 58%, 48%)
HSVhsv(272, 73%, 75%)
CMYKcmyk(33.9%, 73.4%, 0%, 24.7%)
CIE-LABlab(39.05, 57.37, -60.31)
CIE-LCHlch(39.05, 83.24, 313.57°)
OKLaboklab(50.02% 0.1172 -0.1717)
OKLCHoklch(50.02% 0.208 304.3)
XYZxyz(19.4485, 10.6855, 50.8969)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F33C0 #74C033
analogous
#3833C0 #7F33C0 #C033BB
triadic
#7F33C0 #C07F33 #33C07F
tetradic
#7F33C0 #C03833 #74C033 #33BBC0
square
#7F33C0 #C03833 #74C033 #33BBC0
split-complementary
#7F33C0 #BBC033 #33C038
monochromatic
#3F195F #5F2690 #7F33C0 #9D5CD4 #BA8DE1

Accessibility & contrast

On white

6.69
#7F33C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7F33C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F33C0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F33C0#FFFFFF#000000##FFFFFF
##7F33C01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#725677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f33c0;
/* rgb */ color: rgb(127, 51, 192);
/* oklch */ color: oklch(50.0% 0.208 304.3);
Tailwind
colors: {
  custom: {
    50: '#aa72d4',
    500: '#7f33c0',
    950: '#000000',
  },
}
SCSS
$custom: #7f33c0;
$custom-light: #aa72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f33c0",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 272.34,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.20786,
    "h": 304.3
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#7F33C0
secondary
#A5CB84
accent
#E1478E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F33C0

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

Preview Lab → · Contrast checker → · Palette generator →

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