#975CD2#975CD2

#975CD2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.178 H 304.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#975CD2
RGBrgb(151, 92, 210)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 56%, 82%)
CMYKcmyk(28.1%, 56.2%, 0%, 17.6%)
CIE-LABlab(50.55, 46.69, -52.01)
CIE-LCHlch(50.55, 69.89, 311.91°)
OKLaboklab(59.35% 0.1013 -0.1467)
OKLCHoklch(59.35% 0.178 304.6)
XYZxyz(28.2200, 18.8869, 63.1191)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD2 #97D25C
analogous
#5C5CD2 #975CD2 #D25CD2
triadic
#975CD2 #D2975C #5CD297
tetradic
#975CD2 #D25C5C #97D25C #5CD2D2
square
#975CD2 #D25C5C #97D25C #5CD2D2
split-complementary
#975CD2 #D2D25C #5CD25C
monochromatic
#5A278D #7834BD #975CD2 #B68CDF #D4BCEC

Accessibility & contrast

On white

4.40
#975CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#975CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD2#FFFFFF#000000##000000
##975CD21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#8D738E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975cd2;
/* rgb */ color: rgb(151, 92, 210);
/* oklch */ color: oklch(59.3% 0.178 304.6);
Tailwind
colors: {
  custom: {
    50: '#b98ce0',
    500: '#975cd2',
    950: '#000000',
  },
}
SCSS
$custom: #975cd2;
$custom-light: #b98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd2",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 270,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.17827,
    "h": 304.6
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#975CD2
secondary
#C5DCAE
accent
#E04894
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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