#975DD4#975DD4

#975DD4 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.179 H 304.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#975DD4
RGBrgb(151, 93, 212)
HSLhsl(269, 58%, 60%)
HSVhsv(269, 56%, 83%)
CMYKcmyk(28.8%, 56.1%, 0%, 16.9%)
CIE-LABlab(50.88, 46.63, -52.64)
CIE-LCHlch(50.88, 70.32, 311.54°)
OKLaboklab(59.62% 0.1001 -0.1485)
OKLCHoklch(59.62% 0.179 304)
XYZxyz(28.5579, 19.1616, 64.4686)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DD4 #9AD45D
analogous
#5D5ED4 #975DD4 #D35DD4
triadic
#975DD4 #D4975D #5DD497
tetradic
#975DD4 #D45D5E #9AD45D #5DD4D3
square
#975DD4 #D45D5E #9AD45D #5DD4D3
split-complementary
#975DD4 #D4D35D #5ED45D
monochromatic
#5A2690 #7833C1 #975DD4 #B68DE1 #D5BEEE

Accessibility & contrast

On white

4.35
#975DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#975DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DD4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DD4#FFFFFF#000000##000000
##975DD41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E78D8
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#8C7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975dd4;
/* rgb */ color: rgb(151, 93, 212);
/* oklch */ color: oklch(59.6% 0.179 304.0);
Tailwind
colors: {
  custom: {
    50: '#b98de2',
    500: '#975dd4',
    950: '#000000',
  },
}
SCSS
$custom: #975dd4;
$custom-light: #b98de2;
$custom-dark: #000000;
JSON
{
  "hex": "#975dd4",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 269.244,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.17909,
    "h": 304
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#975DD4
secondary
#C7DDAF
accent
#E14796
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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