#975CE6#975CE6

#975CE6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.201 H 300.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#975CE6
RGBrgb(151, 92, 230)
HSLhsl(266, 73%, 63%)
HSVhsv(266, 60%, 90%)
CMYKcmyk(34.3%, 60%, 0%, 9.8%)
CIE-LABlab(51.78, 51.55, -61.38)
CIE-LCHlch(51.78, 80.16, 310.02°)
OKLaboklab(60.63% 0.1012 -0.1742)
OKLCHoklch(60.63% 0.201 300.1)
XYZxyz(30.8691, 19.9465, 77.0713)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE6 #ABE65C
analogous
#5C66E6 #975CE6 #DC5CE6
triadic
#975CE6 #E6975C #5CE697
tetradic
#975CE6 #E65C66 #ABE65C #5CE6DC
square
#975CE6 #E65C66 #ABE65C #5CE6DC
split-complementary
#975CE6 #E6DC5C #66E65C
monochromatic
#591BAD #7527DE #975CE6 #B991EE #DBC6F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975CE6#FFFFFF#000000##000000
##975CE61.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)
#007BEA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#867998
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ce6;
/* rgb */ color: rgb(151, 92, 230);
/* oklch */ color: oklch(60.6% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#ba8def',
    500: '#975ce6',
    950: '#000000',
  },
}
SCSS
$custom: #975ce6;
$custom-light: #ba8def;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce6",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 265.652,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.20145,
    "h": 300.1
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#975CE6
secondary
#D2E8B6
accent
#D61081
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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