#975EDC#975EDC

#975EDC is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.187 H 301.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#975EDC
RGBrgb(151, 94, 220)
HSLhsl(267, 64%, 62%)
HSVhsv(267, 57%, 86%)
CMYKcmyk(31.4%, 57.3%, 0%, 13.7%)
CIE-LABlab(51.56, 48.03, -56.09)
CIE-LCHlch(51.56, 73.85, 310.57°)
OKLaboklab(60.27% 0.0989 -0.1587)
OKLCHoklch(60.27% 0.187 301.9)
XYZxyz(29.6805, 19.7520, 69.9451)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EDC #A3DC5E
analogous
#5E64DC #975EDC #D65EDC
triadic
#975EDC #DC975E #5EDC97
tetradic
#975EDC #DC5E64 #A3DC5E #5EDCD6
square
#975EDC #DC5E64 #A3DC5E #5EDCD6
split-complementary
#975EDC #DCD65E #64DC5E
monochromatic
#5A229D #772DD0 #975EDC #B790E7 #D8C3F2

Accessibility & contrast

On white

4.24
#975EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#975EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EDC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EDC#FFFFFF#000000##000000
##975EDC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#897794
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975edc;
/* rgb */ color: rgb(151, 94, 220);
/* oklch */ color: oklch(60.3% 0.187 301.9);
Tailwind
colors: {
  custom: {
    50: '#b98ee7',
    500: '#975edc',
    950: '#000000',
  },
}
SCSS
$custom: #975edc;
$custom-light: #b98ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#975edc",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 267.143,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.18699,
    "h": 301.9
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#975EDC
secondary
#CDE2B3
accent
#CC197B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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