#975DE3#975DE3

#975DE3 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.197 H 300.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#975DE3
RGBrgb(151, 93, 227)
HSLhsl(266, 71%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.5%, 59%, 0%, 11%)
CIE-LABlab(51.78, 50.28, -59.68)
CIE-LCHlch(51.78, 78.04, 310.11°)
OKLaboklab(60.58% 0.1001 -0.1692)
OKLCHoklch(60.58% 0.197 300.6)
XYZxyz(30.5387, 19.9539, 74.9007)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DE3 #A9E35D
analogous
#5D66E3 #975DE3 #DA5DE3
triadic
#975DE3 #E3975D #5DE397
tetradic
#975DE3 #E35D66 #A9E35D #5DE3DA
square
#975DE3 #E35D66 #A9E35D #5DE3DA
split-complementary
#975DE3 #E3DA5D #66E35D
monochromatic
#591DA8 #7629DA #975DE3 #B891EC #DAC5F5

Accessibility & contrast

On white

4.21
#975DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#975DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DE3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DE3#FFFFFF#000000##000000
##975DE31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7BE7
Deuteranopia (green-blind)
#337BE0
Tritanopia (blue-blind)
#877997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975de3;
/* rgb */ color: rgb(151, 93, 227);
/* oklch */ color: oklch(60.6% 0.197 300.6);
Tailwind
colors: {
  custom: {
    50: '#ba8dec',
    500: '#975de3',
    950: '#000000',
  },
}
SCSS
$custom: #975de3;
$custom-light: #ba8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#975de3",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 265.97,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60579,
    "c": 0.19658,
    "h": 300.6
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#975DE3
secondary
#D1E6B6
accent
#D31380
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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