#975ECD#975ECD

#975ECD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.169 H 305.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#975ECD
RGBrgb(151, 94, 205)
HSLhsl(271, 53%, 59%)
HSVhsv(271, 54%, 80%)
CMYKcmyk(26.3%, 54.1%, 0%, 19.6%)
CIE-LABlab(50.68, 44.42, -48.96)
CIE-LCHlch(50.68, 66.11, 312.22°)
OKLaboklab(59.35% 0.0985 -0.1378)
OKLCHoklch(59.35% 0.169 305.6)
XYZxyz(27.7823, 18.9927, 59.9481)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ECD #94CD5E
analogous
#5F5ECD #975ECD #CD5ECB
triadic
#975ECD #CD975E #5ECD97
tetradic
#975ECD #CD5F5E #94CD5E #5ECBCD
square
#975ECD #CD5F5E #94CD5E #5ECBCD
split-complementary
#975ECD #CBCD5E #5ECD5F
monochromatic
#5A2A87 #7938B5 #975ECD #B58DDC #D3BBEA

Accessibility & contrast

On white

4.38
#975ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#975ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ECD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ECD#FFFFFF#000000##000000
##975ECD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#8E738D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975ecd;
/* rgb */ color: rgb(151, 94, 205);
/* oklch */ color: oklch(59.3% 0.169 305.6);
Tailwind
colors: {
  custom: {
    50: '#b88edd',
    500: '#975ecd',
    950: '#000000',
  },
}
SCSS
$custom: #975ecd;
$custom-light: #b88edd;
$custom-dark: #000000;
JSON
{
  "hex": "#975ecd",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 270.811,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.16936,
    "h": 305.6
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#975ECD
secondary
#C3D9AD
accent
#DC4C92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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