#975EC2#975EC2

#975EC2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.156 H 308.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#975EC2
RGBrgb(151, 94, 194)
HSLhsl(274, 45%, 56%)
HSVhsv(274, 52%, 76%)
CMYKcmyk(22.2%, 51.5%, 0%, 23.9%)
CIE-LABlab(50.07, 41.85, -43.60)
CIE-LCHlch(50.07, 60.44, 313.82°)
OKLaboklab(58.7% 0.0977 -0.1221)
OKLCHoklch(58.7% 0.156 308.7)
XYZxyz(26.5009, 18.4801, 53.1994)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC2 #89C25E
analogous
#655EC2 #975EC2 #C25EBB
triadic
#975EC2 #C2975E #5EC297
tetradic
#975EC2 #C2655E #89C25E #5EBBC2
square
#975EC2 #C2655E #89C25E #5EBBC2
split-complementary
#975EC2 #BBC25E #5EC265
monochromatic
#582E78 #793EA4 #975EC2 #B48AD3 #D0B7E4

Accessibility & contrast

On white

4.47
#975EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#975EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC2#FFFFFF#000000##000000
##975EC21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#5378BF
Tritanopia (blue-blind)
#916F87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975ec2;
/* rgb */ color: rgb(151, 94, 194);
/* oklch */ color: oklch(58.7% 0.156 308.7);
Tailwind
colors: {
  custom: {
    50: '#b88dd5',
    500: '#975ec2',
    950: '#000000',
  },
}
SCSS
$custom: #975ec2;
$custom-light: #b88dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec2",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 274.2,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.15641,
    "h": 308.7
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#975EC2
secondary
#BBD2A9
accent
#D5538B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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