#975CDB#975CDB

#975CDB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.189 H 302.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#975CDB
RGBrgb(151, 92, 219)
HSLhsl(268, 64%, 61%)
HSVhsv(268, 58%, 86%)
CMYKcmyk(31.1%, 58%, 0%, 14.1%)
CIE-LABlab(51.09, 48.85, -56.27)
CIE-LCHlch(51.09, 74.52, 310.96°)
OKLaboklab(59.92% 0.1014 -0.1592)
OKLCHoklch(59.92% 0.189 302.5)
XYZxyz(29.3729, 19.3480, 69.1912)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CDB #A0DB5C
analogous
#5C60DB #975CDB #D65CDB
triadic
#975CDB #DB975C #5CDB97
tetradic
#975CDB #DB5C60 #A0DB5C #5CDBD6
square
#975CDB #DB5C60 #A0DB5C #5CDBD6
split-complementary
#975CDB #DBD65C #60DB5C
monochromatic
#5A229A #772DCD #975CDB #B78EE6 #D7C0F1

Accessibility & contrast

On white

4.31
#975CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#975CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CDB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CDB#FFFFFF#000000##000000
##975CDB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#8A7693
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975cdb;
/* rgb */ color: rgb(151, 92, 219);
/* oklch */ color: oklch(59.9% 0.189 302.5);
Tailwind
colors: {
  custom: {
    50: '#b98ce7',
    500: '#975cdb',
    950: '#000000',
  },
}
SCSS
$custom: #975cdb;
$custom-light: #b98ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#975cdb",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 267.874,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.18873,
    "h": 302.5
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#975CDB
secondary
#CBE1B1
accent
#CC1A79
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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