#975DDD#975DDD

#975DDD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.190 H 301.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#975DDD
RGBrgb(151, 93, 221)
HSLhsl(267, 65%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(31.7%, 57.9%, 0%, 13.3%)
CIE-LABlab(51.41, 48.81, -56.89)
CIE-LCHlch(51.41, 74.96, 310.63°)
OKLaboklab(60.19% 0.1001 -0.161)
OKLCHoklch(60.19% 0.19 301.9)
XYZxyz(29.7250, 19.6284, 70.6152)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DDD #A3DD5D
analogous
#5D63DD #975DDD #D75DDD
triadic
#975DDD #DD975D #5DDD97
tetradic
#975DDD #DD5D63 #A3DD5D #5DDDD7
square
#975DDD #DD5D63 #A3DD5D #5DDDD7
split-complementary
#975DDD #DDD75D #63DD5D
monochromatic
#5A219E #772CD1 #975DDD #B790E8 #D8C2F2

Accessibility & contrast

On white

4.26
#975DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#975DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DDD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DDD#FFFFFF#000000##000000
##975DDD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#207AE1
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#897794
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ddd;
/* rgb */ color: rgb(151, 93, 221);
/* oklch */ color: oklch(60.2% 0.190 301.9);
Tailwind
colors: {
  custom: {
    50: '#ba8de8',
    500: '#975ddd',
    950: '#000000',
  },
}
SCSS
$custom: #975ddd;
$custom-light: #ba8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#975ddd",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 267.188,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.1896,
    "h": 301.9
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

primary
#975DDD
secondary
#CDE3B3
accent
#CD187B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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