#975DEA#975DEA

#975DEA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.205 H 299.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#975DEA
RGBrgb(151, 93, 234)
HSLhsl(265, 77%, 64%)
HSVhsv(265, 60%, 92%)
CMYKcmyk(35.5%, 60.3%, 0%, 8.2%)
CIE-LABlab(52.23, 52.02, -62.90)
CIE-LCHlch(52.23, 81.62, 309.59°)
OKLaboklab(61.04% 0.0998 -0.1787)
OKLCHoklch(61.04% 0.205 299.2)
XYZxyz(31.5245, 20.3482, 80.0927)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DEA #B0EA5D
analogous
#5D6AEA #975DEA #DE5DEA
triadic
#975DEA #EA975D #5DEA97
tetradic
#975DEA #EA5D6A #B0EA5D #5DEADE
square
#975DEA #EA5D6A #B0EA5D #5DEADE
split-complementary
#975DEA #EADE5D #6AEA5D
monochromatic
#5817B5 #7427E3 #975DEA #BA93F1 #DDC9F8

Accessibility & contrast

On white

4.14
#975DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#975DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DEA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DEA#FFFFFF#000000##000000
##975DEA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#277BE7
Tritanopia (blue-blind)
#857B9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975dea;
/* rgb */ color: rgb(151, 93, 234);
/* oklch */ color: oklch(61.0% 0.205 299.2);
Tailwind
colors: {
  custom: {
    50: '#ba8df1',
    500: '#975dea',
    950: '#000000',
  },
}
SCSS
$custom: #975dea;
$custom-light: #ba8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#975dea",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 264.681,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.20468,
    "h": 299.2
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#975DEA
secondary
#D6EAB9
accent
#D90C85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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