#975DEF#975DEF

#975DEF is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.210 H 298.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#975DEF
RGBrgb(151, 93, 239)
HSLhsl(264, 82%, 65%)
HSVhsv(264, 61%, 94%)
CMYKcmyk(36.8%, 61.1%, 0%, 6.3%)
CIE-LABlab(52.55, 53.26, -65.18)
CIE-LCHlch(52.55, 84.18, 309.25°)
OKLaboklab(61.38% 0.0996 -0.1854)
OKLCHoklch(61.38% 0.21 298.2)
XYZxyz(32.2529, 20.6396, 83.9292)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DEF #B5EF5D
analogous
#5D6CEF #975DEF #E05DEF
triadic
#975DEF #EF975D #5DEF97
tetradic
#975DEF #EF5D6C #B5EF5D #5DEFE0
square
#975DEF #EF5D6C #B5EF5D #5DEFE0
split-complementary
#975DEF #EFE05D #6CEF5D
monochromatic
#5713BF #7325E9 #975DEF #BB95F5 #DFCCFA

Accessibility & contrast

On white

4.10
#975DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#975DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DEF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DEF#FFFFFF#000000##000000
##975DEF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#837D9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975def;
/* rgb */ color: rgb(151, 93, 239);
/* oklch */ color: oklch(61.4% 0.210 298.2);
Tailwind
colors: {
  custom: {
    50: '#bb8ef5',
    500: '#975def',
    950: '#000000',
  },
}
SCSS
$custom: #975def;
$custom-light: #bb8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#975def",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 263.836,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.21044,
    "h": 298.2
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#975DEF
secondary
#D9EDBB
accent
#DE0789
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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