#7D33C4#7D33C4

#7D33C4 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.212 H 302.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7D33C4
RGBrgb(125, 51, 196)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 77%)
CMYKcmyk(36.2%, 74%, 0%, 23.1%)
CIE-LABlab(39.09, 57.94, -62.58)
CIE-LCHlch(39.09, 85.29, 312.79°)
OKLaboklab(50.1% 0.1136 -0.1784)
OKLCHoklch(50.1% 0.212 302.5)
XYZxyz(19.6027, 10.7131, 53.2489)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33C4 #7AC433
analogous
#3533C4 #7D33C4 #C433C2
triadic
#7D33C4 #C47D33 #33C47D
tetradic
#7D33C4 #C43533 #7AC433 #33C2C4
square
#7D33C4 #C43533 #7AC433 #33C2C4
split-complementary
#7D33C4 #C2C433 #33C435
monochromatic
#3F1A63 #5E2693 #7D33C4 #9B5FD5 #BA8FE2

Accessibility & contrast

On white

6.68
#7D33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D33C4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33C4#FFFFFF#000000##FFFFFF
##7D33C41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#6E5779
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d33c4;
/* rgb */ color: rgb(125, 51, 196);
/* oklch */ color: oklch(50.1% 0.212 302.5);
Tailwind
colors: {
  custom: {
    50: '#a972d7',
    500: '#7d33c4',
    950: '#000000',
  },
}
SCSS
$custom: #7d33c4;
$custom-light: #a972d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33c4",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 270.621,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.21153,
    "h": 302.5
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#7D33C4
secondary
#A9CD86
accent
#E24692
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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