#975EDB#975EDB

#975EDB is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.186 H 302.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#975EDB
RGBrgb(151, 94, 219)
HSLhsl(267, 63%, 61%)
HSVhsv(267, 57%, 86%)
CMYKcmyk(31.1%, 57.1%, 0%, 14.1%)
CIE-LABlab(51.50, 47.79, -55.62)
CIE-LCHlch(51.50, 73.33, 310.67°)
OKLaboklab(60.21% 0.0989 -0.1573)
OKLCHoklch(60.21% 0.186 302.2)
XYZxyz(29.5484, 19.6991, 69.2497)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EDB #A2DB5E
analogous
#5E64DB #975EDB #D65EDB
triadic
#975EDB #DB975E #5EDB97
tetradic
#975EDB #DB5E64 #A2DB5E #5EDBD6
square
#975EDB #DB5E64 #A2DB5E #5EDBD6
split-complementary
#975EDB #DBD65E #64DB5E
monochromatic
#5A239C #772ECE #975EDB #B790E6 #D8C2F1

Accessibility & contrast

On white

4.25
#975EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#975EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EDB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EDB#FFFFFF#000000##000000
##975EDB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#8A7794
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975edb;
/* rgb */ color: rgb(151, 94, 219);
/* oklch */ color: oklch(60.2% 0.186 302.2);
Tailwind
colors: {
  custom: {
    50: '#b98ee7',
    500: '#975edb',
    950: '#000000',
  },
}
SCSS
$custom: #975edb;
$custom-light: #b98ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#975edb",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 267.36,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.18581,
    "h": 302.2
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#975EDB
secondary
#CCE2B3
accent
#CB1A7B
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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