#975FDB#975FDB

#975FDB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.184 H 302.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#975FDB
RGBrgb(151, 95, 219)
HSLhsl(267, 63%, 62%)
HSVhsv(267, 57%, 86%)
CMYKcmyk(31.1%, 56.6%, 0%, 14.1%)
CIE-LABlab(51.70, 47.25, -55.30)
CIE-LCHlch(51.70, 72.74, 310.51°)
OKLaboklab(60.36% 0.0977 -0.1563)
OKLCHoklch(60.36% 0.184 302)
XYZxyz(29.6379, 19.8781, 69.2795)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FDB #A3DB5F
analogous
#5F65DB #975FDB #D55FDB
triadic
#975FDB #DB975F #5FDB97
tetradic
#975FDB #DB5F65 #A3DB5F #5FDBD5
square
#975FDB #DB5F65 #A3DB5F #5FDBD5
split-complementary
#975FDB #DBD55F #65DB5F
monochromatic
#5A239C #772ECE #975FDB #B791E6 #D8C3F1

Accessibility & contrast

On white

4.22
#975FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#975FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FDB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FDB#FFFFFF#000000##000000
##975FDB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#8A7894
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975fdb;
/* rgb */ color: rgb(151, 95, 219);
/* oklch */ color: oklch(60.4% 0.184 302.0);
Tailwind
colors: {
  custom: {
    50: '#b98ee7',
    500: '#975fdb',
    950: '#000000',
  },
}
SCSS
$custom: #975fdb;
$custom-light: #b98ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#975fdb",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 267.097,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.18434,
    "h": 302
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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