#975ECB#975ECB

#975ECB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.167 H 306.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#975ECB
RGBrgb(151, 94, 203)
HSLhsl(271, 51%, 58%)
HSVhsv(271, 54%, 80%)
CMYKcmyk(25.6%, 53.7%, 0%, 20.4%)
CIE-LABlab(50.57, 43.95, -47.99)
CIE-LCHlch(50.57, 65.07, 312.48°)
OKLaboklab(59.23% 0.0984 -0.1349)
OKLCHoklch(59.23% 0.167 306.1)
XYZxyz(27.5424, 18.8967, 58.6848)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ECB #92CB5E
analogous
#605ECB #975ECB #CB5EC9
triadic
#975ECB #CB975E #5ECB97
tetradic
#975ECB #CB605E #92CB5E #5EC9CB
square
#975ECB #CB605E #92CB5E #5EC9CB
split-complementary
#975ECB #C9CB5E #5ECB60
monochromatic
#592B84 #793AB2 #975ECB #B58CDA #D3BBE9

Accessibility & contrast

On white

4.39
#975ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#975ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ECB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ECB#FFFFFF#000000##000000
##975ECB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#8F728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975ecb;
/* rgb */ color: rgb(151, 94, 203);
/* oklch */ color: oklch(59.2% 0.167 306.1);
Tailwind
colors: {
  custom: {
    50: '#b88ddb',
    500: '#975ecb',
    950: '#000000',
  },
}
SCSS
$custom: #975ecb;
$custom-light: #b88ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#975ecb",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 271.376,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.167,
    "h": 306.1
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#975ECB
secondary
#C1D8AD
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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