#975EC3#975EC3

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

Color values

HEX#975EC3
RGBrgb(151, 94, 195)
HSLhsl(274, 46%, 57%)
HSVhsv(274, 52%, 76%)
CMYKcmyk(22.6%, 51.8%, 0%, 23.5%)
CIE-LABlab(50.13, 42.08, -44.10)
CIE-LCHlch(50.13, 60.95, 313.66°)
OKLaboklab(58.76% 0.0978 -0.1236)
OKLCHoklch(58.76% 0.158 308.4)
XYZxyz(26.6136, 18.5252, 53.7929)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC3 #8AC35E
analogous
#655EC3 #975EC3 #C35EBD
triadic
#975EC3 #C3975E #5EC397
tetradic
#975EC3 #C3655E #8AC35E #5EBDC3
square
#975EC3 #C3655E #8AC35E #5EBDC3
split-complementary
#975EC3 #BDC35E #5EC365
monochromatic
#582D79 #793EA6 #975EC3 #B48BD4 #D1B7E4

Accessibility & contrast

On white

4.46
#975EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##975EC3#FFFFFF#000000##000000
##975EC31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#916F88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975ec3;
/* rgb */ color: rgb(151, 94, 195);
/* oklch */ color: oklch(58.8% 0.158 308.4);
Tailwind
colors: {
  custom: {
    50: '#b88dd5',
    500: '#975ec3',
    950: '#000000',
  },
}
SCSS
$custom: #975ec3;
$custom-light: #b88dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec3",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 273.861,
    "s": 45.701,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.15758,
    "h": 308.4
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#975EC3
secondary
#BCD3AA
accent
#D5528B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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