#975EC4#975EC4

#975EC4 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.159 H 308.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#975EC4
RGBrgb(151, 94, 196)
HSLhsl(274, 46%, 57%)
HSVhsv(274, 52%, 77%)
CMYKcmyk(23%, 52%, 0%, 23.1%)
CIE-LABlab(50.18, 42.31, -44.59)
CIE-LCHlch(50.18, 61.46, 313.50°)
OKLaboklab(58.82% 0.0979 -0.125)
OKLCHoklch(58.82% 0.159 308.1)
XYZxyz(26.7270, 18.5706, 54.3903)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC4 #8BC45E
analogous
#645EC4 #975EC4 #C45EBE
triadic
#975EC4 #C4975E #5EC497
tetradic
#975EC4 #C4645E #8BC45E #5EBEC4
square
#975EC4 #C4645E #8BC45E #5EBEC4
split-complementary
#975EC4 #BEC45E #5EC464
monochromatic
#582D7B #793DA7 #975EC4 #B48BD4 #D1B8E5

Accessibility & contrast

On white

4.45
#975EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#975EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC4#FFFFFF#000000##000000
##975EC41.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#917088
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975ec4;
/* rgb */ color: rgb(151, 94, 196);
/* oklch */ color: oklch(58.8% 0.159 308.1);
Tailwind
colors: {
  custom: {
    50: '#b88dd6',
    500: '#975ec4',
    950: '#000000',
  },
}
SCSS
$custom: #975ec4;
$custom-light: #b88dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec4",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 273.529,
    "s": 46.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.15875,
    "h": 308.1
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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