#7E33A3#7E33A3

#7E33A3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 312.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7E33A3
RGBrgb(126, 51, 163)
HSLhsl(280, 52%, 42%)
HSVhsv(280, 69%, 64%)
CMYKcmyk(22.7%, 68.7%, 0%, 36.1%)
CIE-LABlab(36.83, 50.62, -46.69)
CIE-LCHlch(36.83, 68.87, 317.31°)
OKLaboklab(47.76% 0.12 -0.1317)
OKLCHoklch(47.76% 0.178 312.3)
XYZxyz(16.3977, 9.4481, 35.6031)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33A3 #58A333
analogous
#4633A3 #7E33A3 #A33390
triadic
#7E33A3 #A37E33 #33A37E
tetradic
#7E33A3 #A34633 #58A333 #3390A3
square
#7E33A3 #A34633 #58A333 #3390A3
split-complementary
#7E33A3 #90A333 #33A346
monochromatic
#361646 #5A2474 #7E33A3 #9E4CC7 #B87BD6

Accessibility & contrast

On white

7.27
#7E33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7E33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E33A3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33A3#FFFFFF#000000##FFFFFF
##7E33A31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#7A4A67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e33a3;
/* rgb */ color: rgb(126, 51, 163);
/* oklch */ color: oklch(47.8% 0.178 312.3);
Tailwind
colors: {
  custom: {
    50: '#a771bf',
    500: '#7e33a3',
    950: '#000000',
  },
}
SCSS
$custom: #7e33a3;
$custom-light: #a771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33a3",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 280.179,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.17819,
    "h": 312.3
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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