#975FE8#975FE8

#975FE8 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.200 H 299.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#975FE8
RGBrgb(151, 95, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.9%, 59.1%, 0%, 9%)
CIE-LABlab(52.50, 50.46, -61.35)
CIE-LCHlch(52.50, 79.44, 309.44°)
OKLaboklab(61.2% 0.0976 -0.1741)
OKLCHoklch(61.2% 0.2 299.3)
XYZxyz(31.4166, 20.5896, 78.6473)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FE8 #B0E85F
analogous
#5F6CE8 #975FE8 #DC5FE8
triadic
#975FE8 #E8975F #5FE897
tetradic
#975FE8 #E85F6C #B0E85F #5FE8DC
square
#975FE8 #E85F6C #B0E85F #5FE8DC
split-complementary
#975FE8 #E8DC5F #6CE85F
monochromatic
#581AB3 #7429E0 #975FE8 #BA95F0 #DDCAF7

Accessibility & contrast

On white

4.10
#975FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#975FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FE8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FE8#FFFFFF#000000##000000
##975FE81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#077DEC
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#857C9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975fe8;
/* rgb */ color: rgb(151, 95, 232);
/* oklch */ color: oklch(61.2% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ff0',
    500: '#975fe8',
    950: '#000000',
  },
}
SCSS
$custom: #975fe8;
$custom-light: #ba8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#975fe8",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 264.526,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.612,
    "c": 0.19959,
    "h": 299.3
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

primary
#975FE8
secondary
#D6E9BA
accent
#D70E85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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