#975DDF#975DDF

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

Color values

HEX#975DDF
RGBrgb(151, 93, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(32.3%, 58.3%, 0%, 12.5%)
CIE-LABlab(51.54, 49.30, -57.82)
CIE-LCHlch(51.54, 75.98, 310.45°)
OKLaboklab(60.32% 0.1001 -0.1637)
OKLCHoklch(60.32% 0.192 301.4)
XYZxyz(29.9930, 19.7356, 72.0269)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DDF #A5DF5D
analogous
#5D64DF #975DDF #D85DDF
triadic
#975DDF #DF975D #5DDF97
tetradic
#975DDF #DF5D64 #A5DF5D #5DDFD8
square
#975DDF #DF5D64 #A5DF5D #5DDFD8
split-complementary
#975DDF #DFD85D #64DF5D
monochromatic
#5A20A2 #762AD5 #975DDF #B890E9 #D9C3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975DDF#FFFFFF#000000##000000
##975DDF1.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)
#1B7AE3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#897895
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ddf;
/* rgb */ color: rgb(151, 93, 223);
/* oklch */ color: oklch(60.3% 0.192 301.4);
Tailwind
colors: {
  custom: {
    50: '#ba8dea',
    500: '#975ddf',
    950: '#000000',
  },
}
SCSS
$custom: #975ddf;
$custom-light: #ba8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#975ddf",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 266.769,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.19194,
    "h": 301.4
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#975DDF
secondary
#CEE4B4
accent
#CF177D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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