#95238E#95238E

#95238E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.189 H 330.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#95238E
RGBrgb(149, 35, 142)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 77%, 58%)
CMYKcmyk(0%, 76.5%, 4.7%, 41.6%)
CIE-LABlab(37.02, 57.97, -33.44)
CIE-LCHlch(37.02, 66.92, 330.02°)
OKLaboklab(48.21% 0.165 -0.0922)
OKLCHoklch(48.21% 0.189 330.8)
XYZxyz(17.8779, 9.5461, 26.4869)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95238E #23952A
analogous
#632395 #95238E #952355
triadic
#95238E #8E9523 #238E95
tetradic
#95238E #956323 #23952A #235595
square
#95238E #956323 #23952A #235595
split-complementary
#95238E #559523 #239563
monochromatic
#320C30 #63175F #95238E #C72FBD #D85AD1

Accessibility & contrast

On white

7.22
#95238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#95238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95238E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95238E#FFFFFF#000000##FFFFFF
##95238E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#475D8B
Tritanopia (blue-blind)
#9B3257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95238e;
/* rgb */ color: rgb(149, 35, 142);
/* oklch */ color: oklch(48.2% 0.189 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86baf',
    500: '#95238e',
    950: '#000000',
  },
}
SCSS
$custom: #95238e;
$custom-light: #b86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#95238e",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 303.684,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.18904,
    "h": 330.8
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#95238E
secondary
#57BD5D
accent
#E54D43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95238E

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

Preview Lab → · Contrast checker → · Palette generator →

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