#95238C#95238C

#95238C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 331.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#95238C
RGBrgb(149, 35, 140)
HSLhsl(305, 62%, 36%)
HSVhsv(305, 77%, 58%)
CMYKcmyk(0%, 76.5%, 6%, 41.6%)
CIE-LABlab(36.90, 57.65, -32.39)
CIE-LCHlch(36.90, 66.12, 330.67°)
OKLaboklab(48.09% 0.165 -0.0892)
OKLCHoklch(48.09% 0.188 331.6)
XYZxyz(17.7291, 9.4865, 25.7032)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95238C #23952C
analogous
#652395 #95238C #952353
triadic
#95238C #8C9523 #238C95
tetradic
#95238C #956523 #23952C #235395
square
#95238C #956523 #23952C #235395
split-complementary
#95238C #539523 #239565
monochromatic
#320C2F #63175D #95238C #C72FBB #D85ACE

Accessibility & contrast

On white

7.25
#95238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#95238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95238C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95238C#FFFFFF#000000##FFFFFF
##95238C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#9B3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95238c;
/* rgb */ color: rgb(149, 35, 140);
/* oklch */ color: oklch(48.1% 0.188 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86bae',
    500: '#95238c',
    950: '#000000',
  },
}
SCSS
$custom: #95238c;
$custom-light: #b86bae;
$custom-dark: #000000;
JSON
{
  "hex": "#95238c",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 304.737,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48091,
    "c": 0.18752,
    "h": 331.6
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#95238C
secondary
#57BD5F
accent
#E55043
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95238C

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

Preview Lab → · Contrast checker → · Palette generator →

#95238C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva