#975ED9#975ED9

#975ED9 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.183 H 302.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#975ED9
RGBrgb(151, 94, 217)
HSLhsl(268, 62%, 61%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(30.4%, 56.7%, 0%, 14.9%)
CIE-LABlab(51.38, 47.30, -54.68)
CIE-LCHlch(51.38, 72.30, 310.86°)
OKLaboklab(60.08% 0.0989 -0.1545)
OKLCHoklch(60.08% 0.183 302.6)
XYZxyz(29.2867, 19.5945, 67.8714)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ED9 #A0D95E
analogous
#5E62D9 #975ED9 #D45ED9
triadic
#975ED9 #D9975E #5ED997
tetradic
#975ED9 #D95E62 #A0D95E #5ED9D4
square
#975ED9 #D95E62 #A0D95E #5ED9D4
split-complementary
#975ED9 #D9D45E #62D95E
monochromatic
#5A2499 #7730CA #975ED9 #B790E5 #D7C1F0

Accessibility & contrast

On white

4.27
#975ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#975ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ED9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ED9#FFFFFF#000000##000000
##975ED91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A79DD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#8A7693
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ed9;
/* rgb */ color: rgb(151, 94, 217);
/* oklch */ color: oklch(60.1% 0.183 302.6);
Tailwind
colors: {
  custom: {
    50: '#b98ee5',
    500: '#975ed9',
    950: '#000000',
  },
}
SCSS
$custom: #975ed9;
$custom-light: #b98ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#975ed9",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 267.805,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.18347,
    "h": 302.6
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#975ED9
secondary
#CBE1B2
accent
#CA1C79
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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