#975DC4#975DC4

#975DC4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.160 H 308.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975DC4
RGBrgb(151, 93, 196)
HSLhsl(274, 47%, 57%)
HSVhsv(274, 53%, 77%)
CMYKcmyk(23%, 52.6%, 0%, 23.1%)
CIE-LABlab(49.97, 42.86, -44.92)
CIE-LCHlch(49.97, 62.08, 313.65°)
OKLaboklab(58.66% 0.0992 -0.126)
OKLCHoklch(58.66% 0.16 308.2)
XYZxyz(26.6387, 18.3939, 54.3609)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DC4 #8AC45D
analogous
#645DC4 #975DC4 #C45DBE
triadic
#975DC4 #C4975D #5DC497
tetradic
#975DC4 #C4645D #8AC45D #5DBEC4
square
#975DC4 #C4645D #8AC45D #5DBEC4
split-complementary
#975DC4 #BEC45D #5DC464
monochromatic
#582C7A #793DA7 #975DC4 #B48AD4 #D1B7E5

Accessibility & contrast

On white

4.49
#975DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#975DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DC4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DC4#FFFFFF#000000##000000
##975DC41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C7
Deuteranopia (green-blind)
#5178C1
Tritanopia (blue-blind)
#916F88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975dc4;
/* rgb */ color: rgb(151, 93, 196);
/* oklch */ color: oklch(58.7% 0.160 308.2);
Tailwind
colors: {
  custom: {
    50: '#b88dd6',
    500: '#975dc4',
    950: '#000000',
  },
}
SCSS
$custom: #975dc4;
$custom-light: #b88dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#975dc4",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 273.786,
    "s": 46.606,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.16036,
    "h": 308.2
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#975DC4
secondary
#BCD3A9
accent
#D6528C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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