#7D33C6#7D33C6

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

Color values

HEX#7D33C6
RGBrgb(125, 51, 198)
HSLhsl(270, 59%, 49%)
HSVhsv(270, 74%, 78%)
CMYKcmyk(36.9%, 74.2%, 0%, 22.4%)
CIE-LABlab(39.25, 58.41, -63.50)
CIE-LCHlch(39.25, 86.28, 312.61°)
OKLaboklab(50.26% 0.1132 -0.1811)
OKLCHoklch(50.26% 0.214 302)
XYZxyz(19.8319, 10.8048, 54.4558)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33C6 #7CC633
analogous
#3433C6 #7D33C6 #C633C6
triadic
#7D33C6 #C67D33 #33C67D
tetradic
#7D33C6 #C63433 #7CC633 #33C6C6
square
#7D33C6 #C63433 #7CC633 #33C6C6
split-complementary
#7D33C6 #C6C633 #33C634
monochromatic
#401A65 #5E2695 #7D33C6 #9C60D6 #BA91E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D33C6#FFFFFF#000000##FFFFFF
##7D33C61.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)
#005BCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#6D587A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d33c6;
/* rgb */ color: rgb(125, 51, 198);
/* oklch */ color: oklch(50.3% 0.214 302.0);
Tailwind
colors: {
  custom: {
    50: '#a972d8',
    500: '#7d33c6',
    950: '#000000',
  },
}
SCSS
$custom: #7d33c6;
$custom-light: #a972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33c6",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 270.204,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.21356,
    "h": 302
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#7D33C6
secondary
#AACD87
accent
#E24693
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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