#975AD4#975AD4

#975AD4 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.184 H 304.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#975AD4
RGBrgb(151, 90, 212)
HSLhsl(270, 59%, 59%)
HSVhsv(270, 58%, 83%)
CMYKcmyk(28.8%, 57.5%, 0%, 16.9%)
CIE-LABlab(50.27, 48.23, -53.61)
CIE-LCHlch(50.27, 72.11, 311.98°)
OKLaboklab(59.18% 0.1038 -0.1514)
OKLCHoklch(59.18% 0.184 304.4)
XYZxyz(28.2997, 18.6452, 64.3826)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AD4 #97D45A
analogous
#5A5AD4 #975AD4 #D45AD4
triadic
#975AD4 #D4975A #5AD497
tetradic
#975AD4 #D45A5A #97D45A #5AD4D4
square
#975AD4 #D45A5A #97D45A #5AD4D4
split-complementary
#975AD4 #D4D45A #5AD45A
monochromatic
#5A258E #7832BF #975AD4 #B68BE1 #D4BBED

Accessibility & contrast

On white

4.44
#975AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#975AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AD4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AD4#FFFFFF#000000##000000
##975AD41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2776D8
Deuteranopia (green-blind)
#4078D1
Tritanopia (blue-blind)
#8C728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975ad4;
/* rgb */ color: rgb(151, 90, 212);
/* oklch */ color: oklch(59.2% 0.184 304.4);
Tailwind
colors: {
  custom: {
    50: '#b98be2',
    500: '#975ad4',
    950: '#000000',
  },
}
SCSS
$custom: #975ad4;
$custom-light: #b98be2;
$custom-dark: #000000;
JSON
{
  "hex": "#975ad4",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 212
  },
  "hsl": {
    "h": 270,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.18357,
    "h": 304.4
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#975AD4
secondary
#C5DDAD
accent
#E24694
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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