#975EE3#975EE3

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

Color values

HEX#975EE3
RGBrgb(151, 94, 227)
HSLhsl(266, 70%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.5%, 58.6%, 0%, 11%)
CIE-LABlab(51.98, 49.75, -59.36)
CIE-LCHlch(51.98, 77.45, 309.97°)
OKLaboklab(60.72% 0.0989 -0.1683)
OKLCHoklch(60.72% 0.195 300.4)
XYZxyz(30.6270, 20.1306, 74.9302)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EE3 #AAE35E
analogous
#5E68E3 #975EE3 #D95EE3
triadic
#975EE3 #E3975E #5EE397
tetradic
#975EE3 #E35E68 #AAE35E #5EE3D9
square
#975EE3 #E35E68 #AAE35E #5EE3D9
split-complementary
#975EE3 #E3D95E #68E35E
monochromatic
#591DA9 #752ADA #975EE3 #B992EC #DAC6F5

Accessibility & contrast

On white

4.18
#975EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#975EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EE3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EE3#FFFFFF#000000##000000
##975EE31.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#157BE7
Deuteranopia (green-blind)
#347BE0
Tritanopia (blue-blind)
#877A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ee3;
/* rgb */ color: rgb(151, 94, 227);
/* oklch */ color: oklch(60.7% 0.195 300.4);
Tailwind
colors: {
  custom: {
    50: '#ba8eec',
    500: '#975ee3',
    950: '#000000',
  },
}
SCSS
$custom: #975ee3;
$custom-light: #ba8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#975ee3",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 265.714,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.19517,
    "h": 300.4
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#975EE3
secondary
#D2E6B6
accent
#D21380
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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