#975DD5#975DD5

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

Color values

HEX#975DD5
RGBrgb(151, 93, 213)
HSLhsl(269, 59%, 60%)
HSVhsv(269, 56%, 84%)
CMYKcmyk(29.1%, 56.3%, 0%, 16.5%)
CIE-LABlab(50.93, 46.87, -53.11)
CIE-LCHlch(50.93, 70.84, 311.43°)
OKLaboklab(59.68% 0.1001 -0.1499)
OKLCHoklch(59.68% 0.18 303.7)
XYZxyz(28.6844, 19.2122, 65.1350)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DD5 #9BD55D
analogous
#5D5FD5 #975DD5 #D35DD5
triadic
#975DD5 #D5975D #5DD597
tetradic
#975DD5 #D55D5F #9BD55D #5DD5D3
square
#975DD5 #D55D5F #9BD55D #5DD5D3
split-complementary
#975DD5 #D5D35D #5FD55D
monochromatic
#5A2692 #7832C2 #975DD5 #B68EE2 #D5BEEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975DD5#FFFFFF#000000##000000
##975DD51.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)
#2D78D9
Deuteranopia (green-blind)
#4379D2
Tritanopia (blue-blind)
#8C7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975dd5;
/* rgb */ color: rgb(151, 93, 213);
/* oklch */ color: oklch(59.7% 0.180 303.7);
Tailwind
colors: {
  custom: {
    50: '#b98de2',
    500: '#975dd5',
    950: '#000000',
  },
}
SCSS
$custom: #975dd5;
$custom-light: #b98de2;
$custom-dark: #000000;
JSON
{
  "hex": "#975dd5",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 269,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.18027,
    "h": 303.7
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#975DD5
secondary
#C8DEB0
accent
#E24697
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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