#975CE4#975CE4

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

Color values

HEX#975CE4
RGBrgb(151, 92, 228)
HSLhsl(266, 72%, 63%)
HSVhsv(266, 60%, 89%)
CMYKcmyk(33.8%, 59.6%, 0%, 10.6%)
CIE-LABlab(51.65, 51.05, -60.46)
CIE-LCHlch(51.65, 79.13, 310.18°)
OKLaboklab(60.5% 0.1012 -0.1715)
OKLCHoklch(60.5% 0.199 300.5)
XYZxyz(30.5899, 19.8348, 75.6007)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE4 #A9E45C
analogous
#5C65E4 #975CE4 #DB5CE4
triadic
#975CE4 #E4975C #5CE497
tetradic
#975CE4 #E45C65 #A9E45C #5CE4DB
square
#975CE4 #E45C65 #A9E45C #5CE4DB
split-complementary
#975CE4 #E4DB5C #65E45C
monochromatic
#591CAA #7527DB #975CE4 #B891ED #DAC5F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975CE4#FFFFFF#000000##000000
##975CE41.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)
#037BE8
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#877997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ce4;
/* rgb */ color: rgb(151, 92, 228);
/* oklch */ color: oklch(60.5% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#ba8ded',
    500: '#975ce4',
    950: '#000000',
  },
}
SCSS
$custom: #975ce4;
$custom-light: #ba8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce4",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 266.029,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.19914,
    "h": 300.5
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#975CE4
secondary
#D1E7B5
accent
#D41280
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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