#975EA8#975EA8

#975EA8 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.3% C 0.126 H 318.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975EA8
RGBrgb(151, 94, 168)
HSLhsl(286, 30%, 51%)
HSVhsv(286, 44%, 66%)
CMYKcmyk(10.1%, 44%, 0%, 34.1%)
CIE-LABlab(48.78, 36.08, -30.53)
CIE-LCHlch(48.78, 47.27, 319.77°)
OKLaboklab(57.32% 0.0941 -0.0842)
OKLCHoklch(57.32% 0.126 318.2)
XYZxyz(23.8321, 17.4126, 39.1438)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EA8 #6FA85E
analogous
#725EA8 #975EA8 #A85E94
triadic
#975EA8 #A8975E #5EA897
tetradic
#975EA8 #A8725E #6FA85E #5E94A8
square
#975EA8 #A8725E #6FA85E #5E94A8
split-complementary
#975EA8 #94A85E #5EA872
monochromatic
#51315B #754682 #975EA8 #B186BD #CAADD3

Accessibility & contrast

On white

4.68
#975EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#975EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975EA8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EA8#FFFFFF#000000##FFFFFF
##975EA81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AB
Deuteranopia (green-blind)
#6176A6
Tritanopia (blue-blind)
#97687B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975ea8;
/* rgb */ color: rgb(151, 94, 168);
/* oklch */ color: oklch(57.3% 0.126 318.2);
Tailwind
colors: {
  custom: {
    50: '#b78dc2',
    500: '#975ea8',
    950: '#000000',
  },
}
SCSS
$custom: #975ea8;
$custom-light: #b78dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#975ea8",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 286.216,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.1263,
    "h": 318.2
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#975EA8
secondary
#A8C1A1
accent
#C66279
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#975EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva