#975CE1#975CE1

#975CE1 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.196 H 301.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#975CE1
RGBrgb(151, 92, 225)
HSLhsl(267, 69%, 62%)
HSVhsv(267, 59%, 88%)
CMYKcmyk(32.9%, 59.1%, 0%, 11.8%)
CIE-LABlab(51.46, 50.32, -59.07)
CIE-LCHlch(51.46, 77.60, 310.42°)
OKLaboklab(60.3% 0.1013 -0.1674)
OKLCHoklch(60.3% 0.196 301.2)
XYZxyz(30.1770, 19.6697, 73.4264)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE1 #A6E15C
analogous
#5C63E1 #975CE1 #DA5CE1
triadic
#975CE1 #E1975C #5CE197
tetradic
#975CE1 #E15C63 #A6E15C #5CE1DA
square
#975CE1 #E15C63 #A6E15C #5CE1DA
split-complementary
#975CE1 #E1DA5C #63E15C
monochromatic
#5A1EA4 #7628D7 #975CE1 #B890EB #D9C3F4

Accessibility & contrast

On white

4.26
#975CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#975CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CE1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CE1#FFFFFF#000000##000000
##975CE11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #975ce1;
/* rgb */ color: rgb(151, 92, 225);
/* oklch */ color: oklch(60.3% 0.196 301.2);
Tailwind
colors: {
  custom: {
    50: '#ba8deb',
    500: '#975ce1',
    950: '#000000',
  },
}
SCSS
$custom: #975ce1;
$custom-light: #ba8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce1",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 266.617,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60303,
    "c": 0.19568,
    "h": 301.2
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#975CE1
secondary
#CFE5B4
accent
#D1157D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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