#975EE6#975EE6

#975EE6 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.199 H 299.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#975EE6
RGBrgb(151, 94, 230)
HSLhsl(265, 73%, 64%)
HSVhsv(265, 59%, 90%)
CMYKcmyk(34.3%, 59.1%, 0%, 9.8%)
CIE-LABlab(52.17, 50.49, -60.75)
CIE-LCHlch(52.17, 78.99, 309.73°)
OKLaboklab(60.92% 0.0988 -0.1723)
OKLCHoklch(60.92% 0.199 299.8)
XYZxyz(31.0447, 20.2976, 77.1298)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EE6 #ADE65E
analogous
#5E69E6 #975EE6 #DB5EE6
triadic
#975EE6 #E6975E #5EE697
tetradic
#975EE6 #E65E69 #ADE65E #5EE6DB
square
#975EE6 #E65E69 #ADE65E #5EE6DB
split-complementary
#975EE6 #E6DB5E #69E65E
monochromatic
#591BAF #7529DE #975EE6 #B993EE #DBC8F6

Accessibility & contrast

On white

4.15
#975EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#975EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EE6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EE6#FFFFFF#000000##000000
##975EE61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#097CEA
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#867B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ee6;
/* rgb */ color: rgb(151, 94, 230);
/* oklch */ color: oklch(60.9% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#ba8eef',
    500: '#975ee6',
    950: '#000000',
  },
}
SCSS
$custom: #975ee6;
$custom-light: #ba8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#975ee6",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 265.147,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.19867,
    "h": 299.8
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#975EE6
secondary
#D4E8B8
accent
#D51083
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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