#7D33CC#7D33CC

#7D33CC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.220 H 300.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7D33CC
RGBrgb(125, 51, 204)
HSLhsl(269, 60%, 50%)
HSVhsv(269, 75%, 80%)
CMYKcmyk(38.7%, 75%, 0%, 20%)
CIE-LABlab(39.73, 59.84, -66.21)
CIE-LCHlch(39.73, 89.24, 312.11°)
OKLaboklab(50.74% 0.1118 -0.1891)
OKLCHoklch(50.74% 0.22 300.6)
XYZxyz(20.5377, 11.0871, 58.1730)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33CC #82CC33
analogous
#3335CC #7D33CC #CA33CC
triadic
#7D33CC #CC7D33 #33CC7D
tetradic
#7D33CC #CC3335 #82CC33 #33CCCA
square
#7D33CC #CC3335 #82CC33 #33CCCA
split-complementary
#7D33CC #CCCA33 #35CC33
monochromatic
#411B6A #5F279B #7D33CC #9C64D8 #BB95E4

Accessibility & contrast

On white

6.53
#7D33CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D33CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33CC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33CC#FFFFFF#000000##FFFFFF
##7D33CC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#6B5B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d33cc;
/* rgb */ color: rgb(125, 51, 204);
/* oklch */ color: oklch(50.7% 0.220 300.6);
Tailwind
colors: {
  custom: {
    50: '#a972dd',
    500: '#7d33cc',
    950: '#000000',
  },
}
SCSS
$custom: #7d33cc;
$custom-light: #a972dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33cc",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 269.02,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.21966,
    "h": 300.6
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#7D33CC
secondary
#AFD08B
accent
#E34596
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D33CC

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

Preview Lab → · Contrast checker → · Palette generator →

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