#975BDF#975BDF

#975BDF is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.195 H 301.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#975BDF
RGBrgb(151, 91, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 59%, 87%)
CMYKcmyk(32.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(51.14, 50.36, -58.46)
CIE-LCHlch(51.14, 77.16, 310.74°)
OKLaboklab(60.03% 0.1025 -0.1656)
OKLCHoklch(60.03% 0.195 301.8)
XYZxyz(29.8198, 19.3891, 71.9692)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BDF #A3DF5B
analogous
#5B61DF #975BDF #D95BDF
triadic
#975BDF #DF975B #5BDF97
tetradic
#975BDF #DF5B61 #A3DF5B #5BDFD9
square
#975BDF #DF5B61 #A3DF5B #5BDFD9
split-complementary
#975BDF #DFD95B #61DF5B
monochromatic
#5A1FA0 #7729D4 #975BDF #B78EE9 #D8C1F3

Accessibility & contrast

On white

4.31
#975BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#975BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BDF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BDF#FFFFFF#000000##000000
##975BDF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1279E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#897694
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975bdf;
/* rgb */ color: rgb(151, 91, 223);
/* oklch */ color: oklch(60.0% 0.195 301.8);
Tailwind
colors: {
  custom: {
    50: '#ba8cea',
    500: '#975bdf',
    950: '#000000',
  },
}
SCSS
$custom: #975bdf;
$custom-light: #ba8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#975bdf",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 267.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.19479,
    "h": 301.8
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#975BDF
secondary
#CDE3B2
accent
#CF167B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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