#975ED8#975ED8

#975ED8 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.182 H 302.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#975ED8
RGBrgb(151, 94, 216)
HSLhsl(268, 61%, 61%)
HSVhsv(268, 56%, 85%)
CMYKcmyk(30.1%, 56.5%, 0%, 15.3%)
CIE-LABlab(51.32, 47.06, -54.21)
CIE-LCHlch(51.32, 71.79, 310.96°)
OKLaboklab(60.02% 0.0989 -0.1531)
OKLCHoklch(60.02% 0.182 302.8)
XYZxyz(29.1571, 19.5426, 67.1885)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ED8 #9FD85E
analogous
#5E62D8 #975ED8 #D45ED8
triadic
#975ED8 #D8975E #5ED897
tetradic
#975ED8 #D85E62 #9FD85E #5ED8D4
square
#975ED8 #D85E62 #9FD85E #5ED8D4
split-complementary
#975ED8 #D8D45E #62D85E
monochromatic
#5A2597 #7731C8 #975ED8 #B78FE4 #D7C1F0

Accessibility & contrast

On white

4.28
#975ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#975ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ED8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ED8#FFFFFF#000000##000000
##975ED81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B79DC
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#8B7692
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ed8;
/* rgb */ color: rgb(151, 94, 216);
/* oklch */ color: oklch(60.0% 0.182 302.8);
Tailwind
colors: {
  custom: {
    50: '#b98ee5',
    500: '#975ed8',
    950: '#000000',
  },
}
SCSS
$custom: #975ed8;
$custom-light: #b98ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#975ed8",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 268.033,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.1823,
    "h": 302.8
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#975ED8
secondary
#CAE0B2
accent
#C91D78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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