#7D33A3#7D33A3

#7D33A3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.178 H 311.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7D33A3
RGBrgb(125, 51, 163)
HSLhsl(280, 52%, 42%)
HSVhsv(280, 69%, 64%)
CMYKcmyk(23.3%, 68.7%, 0%, 36.1%)
CIE-LABlab(36.69, 50.39, -46.93)
CIE-LCHlch(36.69, 68.86, 317.04°)
OKLaboklab(47.63% 0.1187 -0.1324)
OKLCHoklch(47.63% 0.178 311.9)
XYZxyz(16.2509, 9.3724, 35.5962)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33A3 #59A333
analogous
#4533A3 #7D33A3 #A33391
triadic
#7D33A3 #A37D33 #33A37D
tetradic
#7D33A3 #A34533 #59A333 #3391A3
square
#7D33A3 #A34533 #59A333 #3391A3
split-complementary
#7D33A3 #91A333 #33A345
monochromatic
#361646 #592474 #7D33A3 #9D4CC7 #B77BD6

Accessibility & contrast

On white

7.31
#7D33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D33A3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33A3#FFFFFF#000000##FFFFFF
##7D33A31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#2758A0
Tritanopia (blue-blind)
#784A67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d33a3;
/* rgb */ color: rgb(125, 51, 163);
/* oklch */ color: oklch(47.6% 0.178 311.9);
Tailwind
colors: {
  custom: {
    50: '#a671bf',
    500: '#7d33a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d33a3;
$custom-light: #a671bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33a3",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 279.643,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.17784,
    "h": 311.9
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#7D33A3
secondary
#8DBE73
accent
#DC4C7D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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