#7D33A2#7D33A2

#7D33A2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 312.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7D33A2
RGBrgb(125, 51, 162)
HSLhsl(280, 52%, 42%)
HSVhsv(280, 69%, 64%)
CMYKcmyk(22.8%, 68.5%, 0%, 36.5%)
CIE-LABlab(36.62, 50.17, -46.44)
CIE-LCHlch(36.62, 68.36, 317.22°)
OKLaboklab(47.56% 0.1188 -0.131)
OKLCHoklch(47.56% 0.177 312.2)
XYZxyz(16.1617, 9.3367, 35.1262)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33A2 #58A233
analogous
#4633A2 #7D33A2 #A23390
triadic
#7D33A2 #A27D33 #33A27D
tetradic
#7D33A2 #A24633 #58A233 #3390A2
square
#7D33A2 #A24633 #58A233 #3390A2
split-complementary
#7D33A2 #90A233 #33A246
monochromatic
#351645 #592473 #7D33A2 #9E4CC7 #B77AD5

Accessibility & contrast

On white

7.32
#7D33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D33A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33A2#FFFFFF#000000##FFFFFF
##7D33A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#28589F
Tritanopia (blue-blind)
#794A66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d33a2;
/* rgb */ color: rgb(125, 51, 162);
/* oklch */ color: oklch(47.6% 0.177 312.2);
Tailwind
colors: {
  custom: {
    50: '#a670be',
    500: '#7d33a2',
    950: '#000000',
  },
}
SCSS
$custom: #7d33a2;
$custom-light: #a670be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33a2",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.17682,
    "h": 312.2
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#7D33A2
secondary
#8CBE73
accent
#DC4C7C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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