#80238F#80238F

#80238F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.180 H 321.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#80238F
RGBrgb(128, 35, 143)
HSLhsl(292, 61%, 35%)
HSVhsv(292, 76%, 56%)
CMYKcmyk(10.5%, 75.5%, 0%, 43.9%)
CIE-LABlab(33.51, 53.52, -39.85)
CIE-LCHlch(33.51, 66.72, 323.33°)
OKLaboklab(45.03% 0.1411 -0.1115)
OKLCHoklch(45.03% 0.18 321.7)
XYZxyz(14.4605, 7.7752, 26.7204)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80238F #328F23
analogous
#4A238F #80238F #8F2368
triadic
#80238F #8F8023 #238F80
tetradic
#80238F #8F4A23 #328F23 #23688F
square
#80238F #8F4A23 #328F23 #23688F
split-complementary
#80238F #688F23 #238F4A
monochromatic
#280B2D #54175E #80238F #AC2FC0 #C457D6

Accessibility & contrast

On white

8.22
#80238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#80238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80238F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80238F#FFFFFF#000000##FFFFFF
##80238F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#813857
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #80238f;
/* rgb */ color: rgb(128, 35, 143);
/* oklch */ color: oklch(45.0% 0.180 321.7);
Tailwind
colors: {
  custom: {
    50: '#a868b0',
    500: '#80238f',
    950: '#000000',
  },
}
SCSS
$custom: #80238f;
$custom-light: #a868b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80238f",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 291.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.17985,
    "h": 321.7
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#80238F
secondary
#62BA54
accent
#E4445A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80238F

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

Preview Lab → · Contrast checker → · Palette generator →

#80238F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva