#975EE2#975EE2

#975EE2 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.194 H 300.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#975EE2
RGBrgb(151, 94, 226)
HSLhsl(266, 69%, 63%)
HSVhsv(266, 58%, 89%)
CMYKcmyk(33.2%, 58.4%, 0%, 11.4%)
CIE-LABlab(51.92, 49.50, -58.90)
CIE-LCHlch(51.92, 76.94, 310.05°)
OKLaboklab(60.66% 0.0989 -0.1669)
OKLCHoklch(60.66% 0.194 300.6)
XYZxyz(30.4894, 20.0755, 74.2054)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EE2 #A9E25E
analogous
#5E67E2 #975EE2 #D95EE2
triadic
#975EE2 #E2975E #5EE297
tetradic
#975EE2 #E25E67 #A9E25E #5EE2D9
square
#975EE2 #E25E67 #A9E25E #5EE2D9
split-complementary
#975EE2 #E2D95E #67E25E
monochromatic
#591EA7 #762AD9 #975EE2 #B892EB #DAC6F5

Accessibility & contrast

On white

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

On black

5.02
#975EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EE2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EE2#FFFFFF#000000##000000
##975EE21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#187BE6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#877997
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ee2;
/* rgb */ color: rgb(151, 94, 226);
/* oklch */ color: oklch(60.7% 0.194 300.6);
Tailwind
colors: {
  custom: {
    50: '#ba8eec',
    500: '#975ee2',
    950: '#000000',
  },
}
SCSS
$custom: #975ee2;
$custom-light: #ba8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#975ee2",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 265.909,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.194,
    "h": 300.6
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#975EE2
secondary
#D1E6B6
accent
#D11480
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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