#975CDF#975CDF

#975CDF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.193 H 301.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#975CDF
RGBrgb(151, 92, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 59%, 87%)
CMYKcmyk(32.3%, 58.7%, 0%, 12.5%)
CIE-LABlab(51.34, 49.83, -58.14)
CIE-LCHlch(51.34, 76.57, 310.60°)
OKLaboklab(60.17% 0.1013 -0.1647)
OKLCHoklch(60.17% 0.193 301.6)
XYZxyz(29.9058, 19.5612, 71.9979)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CDF #A4DF5C
analogous
#5C63DF #975CDF #D95CDF
triadic
#975CDF #DF975C #5CDF97
tetradic
#975CDF #DF5C63 #A4DF5C #5CDFD9
square
#975CDF #DF5C63 #A4DF5C #5CDFD9
split-complementary
#975CDF #DFD95C #63DF5C
monochromatic
#5A20A1 #762AD4 #975CDF #B88FE9 #D8C2F3

Accessibility & contrast

On white

4.28
#975CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#975CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CDF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CDF#FFFFFF#000000##000000
##975CDF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1779E3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#897795
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975cdf;
/* rgb */ color: rgb(151, 92, 223);
/* oklch */ color: oklch(60.2% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#ba8dea',
    500: '#975cdf',
    950: '#000000',
  },
}
SCSS
$custom: #975cdf;
$custom-light: #ba8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#975cdf",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 267.023,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.19337,
    "h": 301.6
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#975CDF
secondary
#CEE4B3
accent
#CF167C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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