#7D33B2#7D33B2

#7D33B2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 307.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7D33B2
RGBrgb(125, 51, 178)
HSLhsl(275, 55%, 45%)
HSVhsv(275, 71%, 70%)
CMYKcmyk(29.8%, 71.3%, 0%, 30.2%)
CIE-LABlab(37.74, 53.76, -54.19)
CIE-LCHlch(37.74, 76.34, 314.77°)
OKLaboklab(48.71% 0.1169 -0.1538)
OKLCHoklch(48.71% 0.193 307.2)
XYZxyz(17.6755, 9.9422, 43.0987)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33B2 #68B233
analogous
#3E33B2 #7D33B2 #B233A7
triadic
#7D33B2 #B27D33 #33B27D
tetradic
#7D33B2 #B23E33 #68B233 #33A7B2
square
#7D33B2 #B23E33 #68B233 #33A7B2
split-complementary
#7D33B2 #A7B233 #33B23E
monochromatic
#3A1853 #5C2582 #7D33B2 #9B54CE #B784DC

Accessibility & contrast

On white

7.03
#7D33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7D33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D33B2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33B2#FFFFFF#000000##FFFFFF
##7D33B21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0859AF
Tritanopia (blue-blind)
#74506F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d33b2;
/* rgb */ color: rgb(125, 51, 178);
/* oklch */ color: oklch(48.7% 0.193 307.2);
Tailwind
colors: {
  custom: {
    50: '#a771ca',
    500: '#7d33b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d33b2;
$custom-light: #a771ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33b2",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 274.961,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.19315,
    "h": 307.2
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#7D33B2
secondary
#9AC57C
accent
#DF4988
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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