#975AC8#975AC8

#975AC8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.170 H 307.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#975AC8
RGBrgb(151, 90, 200)
HSLhsl(273, 50%, 57%)
HSVhsv(273, 55%, 78%)
CMYKcmyk(24.5%, 55%, 0%, 21.6%)
CIE-LABlab(49.57, 45.41, -47.86)
CIE-LCHlch(49.57, 65.97, 313.50°)
OKLaboklab(58.44% 0.1035 -0.1345)
OKLCHoklch(58.44% 0.17 307.6)
XYZxyz(26.8419, 18.0621, 56.7047)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AC8 #8BC85A
analogous
#605AC8 #975AC8 #C85AC2
triadic
#975AC8 #C8975A #5AC897
tetradic
#975AC8 #C8605A #8BC85A #5AC2C8
square
#975AC8 #C8605A #8BC85A #5AC2C8
split-complementary
#975AC8 #C2C85A #5AC860
monochromatic
#582A7E #7939AC #975AC8 #B488D7 #D1B6E7

Accessibility & contrast

On white

4.55
#975AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#975AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AC8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AC8#FFFFFF#000000##000000
##975AC81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4B77C5
Tritanopia (blue-blind)
#906E88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975ac8;
/* rgb */ color: rgb(151, 90, 200);
/* oklch */ color: oklch(58.4% 0.170 307.6);
Tailwind
colors: {
  custom: {
    50: '#b88bd9',
    500: '#975ac8',
    950: '#000000',
  },
}
SCSS
$custom: #975ac8;
$custom-light: #b88bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#975ac8",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 273.273,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.16973,
    "h": 307.6
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#975AC8
secondary
#BCD5A8
accent
#DA4E8C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #975AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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