#975DD2#975DD2

#975DD2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.177 H 304.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#975DD2
RGBrgb(151, 93, 210)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 56%, 82%)
CMYKcmyk(28.1%, 55.7%, 0%, 17.6%)
CIE-LABlab(50.76, 46.15, -51.69)
CIE-LCHlch(50.76, 69.29, 311.76°)
OKLaboklab(59.5% 0.1 -0.1457)
OKLCHoklch(59.5% 0.177 304.5)
XYZxyz(28.3072, 19.0613, 63.1482)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DD2 #98D25D
analogous
#5D5DD2 #975DD2 #D25DD2
triadic
#975DD2 #D2975D #5DD297
tetradic
#975DD2 #D25D5D #98D25D #5DD2D2
square
#975DD2 #D25D5D #98D25D #5DD2D2
split-complementary
#975DD2 #D2D25D #5DD25D
monochromatic
#5A278D #7835BD #975DD2 #B68DDF #D4BDED

Accessibility & contrast

On white

4.36
#975DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#975DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DD2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DD2#FFFFFF#000000##000000
##975DD21.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#8D738F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975dd2;
/* rgb */ color: rgb(151, 93, 210);
/* oklch */ color: oklch(59.5% 0.177 304.5);
Tailwind
colors: {
  custom: {
    50: '#b98de0',
    500: '#975dd2',
    950: '#000000',
  },
}
SCSS
$custom: #975dd2;
$custom-light: #b98de0;
$custom-dark: #000000;
JSON
{
  "hex": "#975dd2",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 269.744,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.17676,
    "h": 304.5
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#975DD2
secondary
#C6DCAF
accent
#E04895
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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