#975DE2#975DE2

#975DE2 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.195 H 300.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#975DE2
RGBrgb(151, 93, 226)
HSLhsl(266, 70%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.2%, 58.8%, 0%, 11.4%)
CIE-LABlab(51.72, 50.03, -59.22)
CIE-LCHlch(51.72, 77.53, 310.20°)
OKLaboklab(60.51% 0.1001 -0.1678)
OKLCHoklch(60.51% 0.195 300.8)
XYZxyz(30.4010, 19.8988, 74.1760)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DE2 #A8E25D
analogous
#5D66E2 #975DE2 #D95DE2
triadic
#975DE2 #E2975D #5DE297
tetradic
#975DE2 #E25D66 #A8E25D #5DE2D9
square
#975DE2 #E25D66 #A8E25D #5DE2D9
split-complementary
#975DE2 #E2D95D #66E25D
monochromatic
#5A1EA7 #7629D9 #975DE2 #B891EB #DAC5F5

Accessibility & contrast

On white

4.22
#975DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#975DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DE2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DE2#FFFFFF#000000##000000
##975DE21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#137BE6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#877997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975de2;
/* rgb */ color: rgb(151, 93, 226);
/* oklch */ color: oklch(60.5% 0.195 300.8);
Tailwind
colors: {
  custom: {
    50: '#ba8dec',
    500: '#975de2',
    950: '#000000',
  },
}
SCSS
$custom: #975de2;
$custom-light: #ba8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#975de2",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 266.165,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60514,
    "c": 0.19542,
    "h": 300.8
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#975DE2
secondary
#D0E6B5
accent
#D2147F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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