#975DC8#975DC8

#975DC8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.165 H 307.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#975DC8
RGBrgb(151, 93, 200)
HSLhsl(273, 49%, 57%)
HSVhsv(273, 54%, 78%)
CMYKcmyk(24.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(50.19, 43.79, -46.87)
CIE-LCHlch(50.19, 64.14, 313.05°)
OKLaboklab(58.9% 0.0995 -0.1317)
OKLCHoklch(58.9% 0.165 307.1)
XYZxyz(27.1001, 18.5784, 56.7907)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DC8 #8EC85D
analogous
#615DC8 #975DC8 #C85DC4
triadic
#975DC8 #C8975D #5DC897
tetradic
#975DC8 #C8615D #8EC85D #5DC4C8
square
#975DC8 #C8615D #8EC85D #5DC4C8
split-complementary
#975DC8 #C4C85D #5DC861
monochromatic
#592B7F #793BAD #975DC8 #B48BD8 #D2B8E7

Accessibility & contrast

On white

4.45
#975DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#975DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DC8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DC8#FFFFFF#000000##000000
##975DC81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#90708A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975dc8;
/* rgb */ color: rgb(151, 93, 200);
/* oklch */ color: oklch(58.9% 0.165 307.1);
Tailwind
colors: {
  custom: {
    50: '#b88dd9',
    500: '#975dc8',
    950: '#000000',
  },
}
SCSS
$custom: #975dc8;
$custom-light: #b88dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#975dc8",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 272.523,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.16504,
    "h": 307.1
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#975DC8
secondary
#BFD6AB
accent
#D94F8E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #975DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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