#975CDE#975CDE

#975CDE is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.192 H 301.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#975CDE
RGBrgb(151, 92, 222)
HSLhsl(267, 66%, 62%)
HSVhsv(267, 59%, 87%)
CMYKcmyk(32%, 58.6%, 0%, 12.9%)
CIE-LABlab(51.28, 49.58, -57.68)
CIE-LCHlch(51.28, 76.06, 310.69°)
OKLaboklab(60.11% 0.1014 -0.1633)
OKLCHoklch(60.11% 0.192 301.8)
XYZxyz(29.7714, 19.5074, 71.2899)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CDE #A3DE5C
analogous
#5C62DE #975CDE #D85CDE
triadic
#975CDE #DE975C #5CDE97
tetradic
#975CDE #DE5C62 #A3DE5C #5CDED8
square
#975CDE #DE5C62 #A3DE5C #5CDED8
split-complementary
#975CDE #DED85C #62DE5C
monochromatic
#5A209F #772BD2 #975CDE #B78FE8 #D8C2F3

Accessibility & contrast

On white

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

On black

4.90
#975CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CDE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CDE#FFFFFF#000000##000000
##975CDE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A79E2
Deuteranopia (green-blind)
#387ADB
Tritanopia (blue-blind)
#897794
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975cde;
/* rgb */ color: rgb(151, 92, 222);
/* oklch */ color: oklch(60.1% 0.192 301.8);
Tailwind
colors: {
  custom: {
    50: '#ba8de9',
    500: '#975cde',
    950: '#000000',
  },
}
SCSS
$custom: #975cde;
$custom-light: #ba8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#975cde",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 267.231,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.19221,
    "h": 301.8
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#975CDE
secondary
#CDE3B3
accent
#CE177B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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