#975CD8#975CD8

#975CD8 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.185 H 303.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#975CD8
RGBrgb(151, 92, 216)
HSLhsl(269, 61%, 60%)
HSVhsv(269, 57%, 85%)
CMYKcmyk(30.1%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.91, 48.13, -54.86)
CIE-LCHlch(50.91, 72.98, 311.26°)
OKLaboklab(59.72% 0.1014 -0.155)
OKLCHoklch(59.72% 0.185 303.2)
XYZxyz(28.9815, 19.1915, 67.1299)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD8 #9DD85C
analogous
#5C5FD8 #975CD8 #D55CD8
triadic
#975CD8 #D8975C #5CD897
tetradic
#975CD8 #D85C5F #9DD85C #5CD8D5
square
#975CD8 #D85C5F #9DD85C #5CD8D5
split-complementary
#975CD8 #D8D55C #5FD85C
monochromatic
#5A2496 #7830C7 #975CD8 #B78DE4 #D6BFF0

Accessibility & contrast

On white

4.34
#975CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#975CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD8#FFFFFF#000000##000000
##975CD81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2678DC
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#8B7591
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975cd8;
/* rgb */ color: rgb(151, 92, 216);
/* oklch */ color: oklch(59.7% 0.185 303.2);
Tailwind
colors: {
  custom: {
    50: '#b98ce5',
    500: '#975cd8',
    950: '#000000',
  },
}
SCSS
$custom: #975cd8;
$custom-light: #b98ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd8",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 268.548,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.18525,
    "h": 303.2
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#975CD8
secondary
#C9E0B0
accent
#C91C77
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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