#975DC2#975DC2

#975DC2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.158 H 308.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#975DC2
RGBrgb(151, 93, 194)
HSLhsl(274, 45%, 56%)
HSVhsv(274, 52%, 76%)
CMYKcmyk(22.2%, 52.1%, 0%, 23.9%)
CIE-LABlab(49.86, 42.39, -43.94)
CIE-LCHlch(49.86, 61.06, 313.98°)
OKLaboklab(58.55% 0.0991 -0.1231)
OKLCHoklch(58.55% 0.158 308.8)
XYZxyz(26.4126, 18.3034, 53.1700)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DC2 #88C25D
analogous
#655DC2 #975DC2 #C25DBB
triadic
#975DC2 #C2975D #5DC297
tetradic
#975DC2 #C2655D #88C25D #5DBBC2
square
#975DC2 #C2655D #88C25D #5DBBC2
split-complementary
#975DC2 #BBC25D #5DC265
monochromatic
#582D78 #783EA4 #975DC2 #B489D3 #D0B6E3

Accessibility & contrast

On white

4.51
#975DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#975DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DC2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DC2#FFFFFF#000000##000000
##975DC21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#916E87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975dc2;
/* rgb */ color: rgb(151, 93, 194);
/* oklch */ color: oklch(58.5% 0.158 308.8);
Tailwind
colors: {
  custom: {
    50: '#b88dd5',
    500: '#975dc2',
    950: '#000000',
  },
}
SCSS
$custom: #975dc2;
$custom-light: #b88dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#975dc2",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 274.455,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.15801,
    "h": 308.8
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#975DC2
secondary
#BAD2A9
accent
#D5538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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