#975EDA#975EDA

#975EDA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.185 H 302.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#975EDA
RGBrgb(151, 94, 218)
HSLhsl(268, 63%, 61%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(30.7%, 56.9%, 0%, 14.5%)
CIE-LABlab(51.44, 47.54, -55.15)
CIE-LCHlch(51.44, 72.82, 310.76°)
OKLaboklab(60.15% 0.0989 -0.1559)
OKLCHoklch(60.15% 0.185 302.4)
XYZxyz(29.4172, 19.6466, 68.5585)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EDA #A1DA5E
analogous
#5E63DA #975EDA #D55EDA
triadic
#975EDA #DA975E #5EDA97
tetradic
#975EDA #DA5E63 #A1DA5E #5EDAD5
square
#975EDA #DA5E63 #A1DA5E #5EDAD5
split-complementary
#975EDA #DAD55E #63DA5E
monochromatic
#5A239A #772FCC #975EDA #B790E5 #D7C2F1

Accessibility & contrast

On white

4.26
#975EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#975EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EDA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EDA#FFFFFF#000000##000000
##975EDA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADE
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#8A7793
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975eda;
/* rgb */ color: rgb(151, 94, 218);
/* oklch */ color: oklch(60.1% 0.185 302.4);
Tailwind
colors: {
  custom: {
    50: '#b98ee6',
    500: '#975eda',
    950: '#000000',
  },
}
SCSS
$custom: #975eda;
$custom-light: #b98ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#975eda",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 267.581,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.18464,
    "h": 302.4
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

primary
#975EDA
secondary
#CCE1B3
accent
#CA1B7A
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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