#975ECA#975ECA

#975ECA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.166 H 306.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#975ECA
RGBrgb(151, 94, 202)
HSLhsl(272, 50%, 58%)
HSVhsv(272, 53%, 79%)
CMYKcmyk(25.2%, 53.5%, 0%, 20.8%)
CIE-LABlab(50.51, 43.71, -47.51)
CIE-LCHlch(50.51, 64.56, 312.62°)
OKLaboklab(59.17% 0.0983 -0.1335)
OKLCHoklch(59.17% 0.166 306.4)
XYZxyz(27.4237, 18.8492, 58.0592)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ECA #91CA5E
analogous
#615ECA #975ECA #CA5EC7
triadic
#975ECA #CA975E #5ECA97
tetradic
#975ECA #CA615E #91CA5E #5EC7CA
square
#975ECA #CA615E #91CA5E #5EC7CA
split-complementary
#975ECA #C7CA5E #5ECA61
monochromatic
#592B83 #793AB1 #975ECA #B58CD9 #D2BAE8

Accessibility & contrast

On white

4.40
#975ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#975ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ECA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ECA#FFFFFF#000000##000000
##975ECA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#8F728B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975eca;
/* rgb */ color: rgb(151, 94, 202);
/* oklch */ color: oklch(59.2% 0.166 306.4);
Tailwind
colors: {
  custom: {
    50: '#b88ddb',
    500: '#975eca',
    950: '#000000',
  },
}
SCSS
$custom: #975eca;
$custom-light: #b88ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#975eca",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 271.667,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.16582,
    "h": 306.4
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#975ECA
secondary
#C1D7AC
accent
#DA4E90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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