#95238B#95238B

#95238B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.187 H 332.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#95238B
RGBrgb(149, 35, 139)
HSLhsl(305, 62%, 36%)
HSVhsv(305, 77%, 58%)
CMYKcmyk(0%, 76.5%, 6.7%, 41.6%)
CIE-LABlab(36.85, 57.49, -31.86)
CIE-LCHlch(36.85, 65.73, 331.00°)
OKLaboklab(48.04% 0.1649 -0.0877)
OKLCHoklch(48.04% 0.187 332)
XYZxyz(17.6557, 9.4572, 25.3166)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95238B #23952D
analogous
#662395 #95238B #952352
triadic
#95238B #8B9523 #238B95
tetradic
#95238B #956623 #23952D #235295
square
#95238B #956623 #23952D #235295
split-complementary
#95238B #529523 #239566
monochromatic
#320C2F #63175D #95238B #C72FB9 #D85ACD

Accessibility & contrast

On white

7.26
#95238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#95238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95238B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95238B#FFFFFF#000000##FFFFFF
##95238B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8E
Deuteranopia (green-blind)
#495C88
Tritanopia (blue-blind)
#9B3155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95238b;
/* rgb */ color: rgb(149, 35, 139);
/* oklch */ color: oklch(48.0% 0.187 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86bad',
    500: '#95238b',
    950: '#000000',
  },
}
SCSS
$custom: #95238b;
$custom-light: #b86bad;
$custom-dark: #000000;
JSON
{
  "hex": "#95238b",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 305.263,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.18678,
    "h": 332
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#95238B
secondary
#57BD60
accent
#E55143
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95238B

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

Preview Lab → · Contrast checker → · Palette generator →

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