#975FDE#975FDE

#975FDE is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.188 H 301.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#975FDE
RGBrgb(151, 95, 222)
HSLhsl(266, 66%, 62%)
HSVhsv(266, 57%, 87%)
CMYKcmyk(32%, 57.2%, 0%, 12.9%)
CIE-LABlab(51.88, 47.99, -56.71)
CIE-LCHlch(51.88, 74.28, 310.24°)
OKLaboklab(60.55% 0.0977 -0.1605)
OKLCHoklch(60.55% 0.188 301.3)
XYZxyz(30.0364, 20.0375, 71.3783)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FDE #A6DE5F
analogous
#5F66DE #975FDE #D75FDE
triadic
#975FDE #DE975F #5FDE97
tetradic
#975FDE #DE5F66 #A6DE5F #5FDED7
square
#975FDE #DE5F66 #A6DE5F #5FDED7
split-complementary
#975FDE #DED75F #66DE5F
monochromatic
#5A21A1 #762CD4 #975FDE #B892E8 #D9C4F3

Accessibility & contrast

On white

4.19
#975FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#975FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FDE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FDE#FFFFFF#000000##000000
##975FDE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#3C7BDB
Tritanopia (blue-blind)
#897995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975fde;
/* rgb */ color: rgb(151, 95, 222);
/* oklch */ color: oklch(60.6% 0.188 301.3);
Tailwind
colors: {
  custom: {
    50: '#b98ee9',
    500: '#975fde',
    950: '#000000',
  },
}
SCSS
$custom: #975fde;
$custom-light: #b98ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#975fde",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 266.457,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6055,
    "c": 0.18788,
    "h": 301.3
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

primary
#975FDE
secondary
#CFE4B5
accent
#CE187D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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