#975EC8#975EC8

#975EC8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.163 H 306.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#975EC8
RGBrgb(151, 94, 200)
HSLhsl(272, 49%, 58%)
HSVhsv(272, 53%, 78%)
CMYKcmyk(24.5%, 53%, 0%, 21.6%)
CIE-LABlab(50.40, 43.24, -46.54)
CIE-LCHlch(50.40, 63.53, 312.90°)
OKLaboklab(59.05% 0.0982 -0.1307)
OKLCHoklch(59.05% 0.163 306.9)
XYZxyz(27.1884, 18.7551, 56.8202)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC8 #8FC85E
analogous
#625EC8 #975EC8 #C85EC4
triadic
#975EC8 #C8975E #5EC897
tetradic
#975EC8 #C8625E #8FC85E #5EC4C8
square
#975EC8 #C8625E #8FC85E #5EC4C8
split-complementary
#975EC8 #C4C85E #5EC862
monochromatic
#592C80 #793BAE #975EC8 #B48CD8 #D2B9E7

Accessibility & contrast

On white

4.42
#975EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#975EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC8#FFFFFF#000000##000000
##975EC81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#8F718A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975ec8;
/* rgb */ color: rgb(151, 94, 200);
/* oklch */ color: oklch(59.1% 0.163 306.9);
Tailwind
colors: {
  custom: {
    50: '#b88dd9',
    500: '#975ec8',
    950: '#000000',
  },
}
SCSS
$custom: #975ec8;
$custom-light: #b88dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec8",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 272.264,
    "s": 49.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.16347,
    "h": 306.9
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#975EC8
secondary
#BFD6AC
accent
#D94F8F
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #975EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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