#975DE7#975DE7

#975DE7 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.201 H 299.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#975DE7
RGBrgb(151, 93, 231)
HSLhsl(265, 74%, 64%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(34.6%, 59.7%, 0%, 9.4%)
CIE-LABlab(52.04, 51.27, -61.53)
CIE-LCHlch(52.04, 80.09, 309.80°)
OKLaboklab(60.84% 0.1 -0.1746)
OKLCHoklch(60.84% 0.201 299.8)
XYZxyz(31.0971, 20.1773, 77.8421)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DE7 #ADE75D
analogous
#5D68E7 #975DE7 #DC5DE7
triadic
#975DE7 #E7975D #5DE797
tetradic
#975DE7 #E75D68 #ADE75D #5DE7DC
square
#975DE7 #E75D68 #ADE75D #5DE7DC
split-complementary
#975DE7 #E7DC5D #68E75D
monochromatic
#591AB0 #7528DF #975DE7 #B992EF #DBC8F7

Accessibility & contrast

On white

4.17
#975DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#975DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DE7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DE7#FFFFFF#000000##000000
##975DE71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#2D7BE4
Tritanopia (blue-blind)
#867A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975de7;
/* rgb */ color: rgb(151, 93, 231);
/* oklch */ color: oklch(60.8% 0.201 299.8);
Tailwind
colors: {
  custom: {
    50: '#ba8def',
    500: '#975de7',
    950: '#000000',
  },
}
SCSS
$custom: #975de7;
$custom-light: #ba8def;
$custom-dark: #000000;
JSON
{
  "hex": "#975de7",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 265.217,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.20121,
    "h": 299.8
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#975DE7
secondary
#D4E8B7
accent
#D60F83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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