#975ED2#975ED2

#975ED2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.175 H 304.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#975ED2
RGBrgb(151, 94, 210)
HSLhsl(269, 56%, 60%)
HSVhsv(269, 55%, 82%)
CMYKcmyk(28.1%, 55.2%, 0%, 17.6%)
CIE-LABlab(50.96, 45.61, -51.36)
CIE-LCHlch(50.96, 68.69, 311.61°)
OKLaboklab(59.65% 0.0987 -0.1448)
OKLCHoklch(59.65% 0.175 304.3)
XYZxyz(28.3955, 19.2380, 63.1776)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ED2 #99D25E
analogous
#5E5FD2 #975ED2 #D15ED2
triadic
#975ED2 #D2975E #5ED297
tetradic
#975ED2 #D25E5F #99D25E #5ED2D1
square
#975ED2 #D25E5F #99D25E #5ED2D1
split-complementary
#975ED2 #D2D15E #5FD25E
monochromatic
#5A288E #7835BE #975ED2 #B68EDF #D5BEED

Accessibility & contrast

On white

4.33
#975ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#975ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ED2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ED2#FFFFFF#000000##000000
##975ED21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#8D748F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975ed2;
/* rgb */ color: rgb(151, 94, 210);
/* oklch */ color: oklch(59.7% 0.175 304.3);
Tailwind
colors: {
  custom: {
    50: '#b98ee0',
    500: '#975ed2',
    950: '#000000',
  },
}
SCSS
$custom: #975ed2;
$custom-light: #b98ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#975ed2",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 269.483,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.17524,
    "h": 304.3
  },
  "luminance": 0.19238
}

Semantic roles & 50–950 ramp

primary
#975ED2
secondary
#C6DCAF
accent
#E04895
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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