#975DE1#975DE1

#975DE1 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.194 H 301.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#975DE1
RGBrgb(151, 93, 225)
HSLhsl(266, 69%, 62%)
HSVhsv(266, 59%, 88%)
CMYKcmyk(32.9%, 58.7%, 0%, 11.8%)
CIE-LABlab(51.66, 49.79, -58.75)
CIE-LCHlch(51.66, 77.01, 310.28°)
OKLaboklab(60.45% 0.1001 -0.1665)
OKLCHoklch(60.45% 0.194 301)
XYZxyz(30.2642, 19.8441, 73.4554)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DE1 #A7E15D
analogous
#5D65E1 #975DE1 #D95DE1
triadic
#975DE1 #E1975D #5DE197
tetradic
#975DE1 #E15D65 #A7E15D #5DE1D9
square
#975DE1 #E15D65 #A7E15D #5DE1D9
split-complementary
#975DE1 #E1D95D #65E15D
monochromatic
#5A1FA5 #7629D7 #975DE1 #B891EB #D9C4F4

Accessibility & contrast

On white

4.23
#975DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#975DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DE1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DE1#FFFFFF#000000##000000
##975DE11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#167AE5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#887896
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975de1;
/* rgb */ color: rgb(151, 93, 225);
/* oklch */ color: oklch(60.4% 0.194 301.0);
Tailwind
colors: {
  custom: {
    50: '#ba8deb',
    500: '#975de1',
    950: '#000000',
  },
}
SCSS
$custom: #975de1;
$custom-light: #ba8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#975de1",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 266.364,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.19426,
    "h": 301
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#975DE1
secondary
#D0E5B5
accent
#D1157E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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