#975BDB#975BDB

#975BDB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.190 H 302.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#975BDB
RGBrgb(151, 91, 219)
HSLhsl(268, 64%, 61%)
HSVhsv(268, 58%, 86%)
CMYKcmyk(31.1%, 58.4%, 0%, 14.1%)
CIE-LABlab(50.89, 49.38, -56.59)
CIE-LCHlch(50.89, 75.11, 311.11°)
OKLaboklab(59.77% 0.1026 -0.1601)
OKLCHoklch(59.77% 0.19 302.6)
XYZxyz(29.2868, 19.1759, 69.1625)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BDB #9FDB5B
analogous
#5B5FDB #975BDB #D75BDB
triadic
#975BDB #DB975B #5BDB97
tetradic
#975BDB #DB5B5F #9FDB5B #5BDBD7
square
#975BDB #DB5B5F #9FDB5B #5BDBD7
split-complementary
#975BDB #DBD75B #5FDB5B
monochromatic
#5A229A #772DCC #975BDB #B78DE6 #D7BFF1

Accessibility & contrast

On white

4.34
#975BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#975BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BDB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BDB#FFFFFF#000000##000000
##975BDB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#8A7592
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975bdb;
/* rgb */ color: rgb(151, 91, 219);
/* oklch */ color: oklch(59.8% 0.190 302.6);
Tailwind
colors: {
  custom: {
    50: '#b98ce7',
    500: '#975bdb',
    950: '#000000',
  },
}
SCSS
$custom: #975bdb;
$custom-light: #b98ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#975bdb",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 268.125,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.19017,
    "h": 302.6
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#975BDB
secondary
#CAE1B1
accent
#CC1A78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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