#975DE8#975DE8

#975DE8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.202 H 299.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#975DE8
RGBrgb(151, 93, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(34.9%, 59.9%, 0%, 9%)
CIE-LABlab(52.10, 51.52, -61.99)
CIE-LCHlch(52.10, 80.60, 309.73°)
OKLaboklab(60.91% 0.0999 -0.176)
OKLCHoklch(60.91% 0.202 299.6)
XYZxyz(31.2388, 20.2339, 78.5880)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DE8 #AEE85D
analogous
#5D68E8 #975DE8 #DC5DE8
triadic
#975DE8 #E8975D #5DE897
tetradic
#975DE8 #E85D68 #AEE85D #5DE8DC
square
#975DE8 #E85D68 #AEE85D #5DE8DC
split-complementary
#975DE8 #E8DC5D #68E85D
monochromatic
#5919B1 #7527E0 #975DE8 #B993F0 #DCC8F7

Accessibility & contrast

On white

4.16
#975DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#975DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DE8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DE8#FFFFFF#000000##000000
##975DE81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#857B9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975de8;
/* rgb */ color: rgb(151, 93, 232);
/* oklch */ color: oklch(60.9% 0.202 299.6);
Tailwind
colors: {
  custom: {
    50: '#ba8df0',
    500: '#975de8',
    950: '#000000',
  },
}
SCSS
$custom: #975de8;
$custom-light: #ba8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#975de8",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 265.036,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6091,
    "c": 0.20237,
    "h": 299.6
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#975DE8
secondary
#D4E9B8
accent
#D70E83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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