#975AE2#975AE2

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

Color values

HEX#975AE2
RGBrgb(151, 90, 226)
HSLhsl(267, 70%, 62%)
HSVhsv(267, 60%, 89%)
CMYKcmyk(33.2%, 60.2%, 0%, 11.4%)
CIE-LABlab(51.13, 51.61, -60.17)
CIE-LCHlch(51.13, 79.27, 310.62°)
OKLaboklab(60.08% 0.1036 -0.1706)
OKLCHoklch(60.08% 0.2 301.3)
XYZxyz(30.1429, 19.3825, 74.0899)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE2 #A5E25A
analogous
#5A61E2 #975AE2 #DB5AE2
triadic
#975AE2 #E2975A #5AE297
tetradic
#975AE2 #E25A61 #A5E25A #5AE2DB
square
#975AE2 #E25A61 #A5E25A #5AE2DB
split-complementary
#975AE2 #E2DB5A #61E25A
monochromatic
#5A1DA5 #7626D9 #975AE2 #B88EEB #D9C2F4

Accessibility & contrast

On white

4.31
#975AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#975AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AE2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AE2#FFFFFF#000000##000000
##975AE21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#887796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ae2;
/* rgb */ color: rgb(151, 90, 226);
/* oklch */ color: oklch(60.1% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba8bec',
    500: '#975ae2',
    950: '#000000',
  },
}
SCSS
$custom: #975ae2;
$custom-light: #ba8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae2",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 266.912,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.19963,
    "h": 301.3
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#975AE2
secondary
#CEE5B3
accent
#D2137D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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