#975FCB#975FCB

#975FCB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.165 H 305.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#975FCB
RGBrgb(151, 95, 203)
HSLhsl(271, 51%, 58%)
HSVhsv(271, 53%, 80%)
CMYKcmyk(25.6%, 53.2%, 0%, 20.4%)
CIE-LABlab(50.78, 43.40, -47.66)
CIE-LCHlch(50.78, 64.46, 312.32°)
OKLaboklab(59.38% 0.0971 -0.134)
OKLCHoklch(59.38% 0.165 305.9)
XYZxyz(27.6319, 19.0757, 58.7146)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FCB #93CB5F
analogous
#615FCB #975FCB #CB5FC9
triadic
#975FCB #CB975F #5FCB97
tetradic
#975FCB #CB615F #93CB5F #5FC9CB
square
#975FCB #CB615F #93CB5F #5FC9CB
split-complementary
#975FCB #C9CB5F #5FCB61
monochromatic
#592B85 #793AB3 #975FCB #B58DDA #D3BBE9

Accessibility & contrast

On white

4.36
#975FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#975FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FCB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FCB#FFFFFF#000000##000000
##975FCB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#8F738C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975fcb;
/* rgb */ color: rgb(151, 95, 203);
/* oklch */ color: oklch(59.4% 0.165 305.9);
Tailwind
colors: {
  custom: {
    50: '#b88edb',
    500: '#975fcb',
    950: '#000000',
  },
}
SCSS
$custom: #975fcb;
$custom-light: #b88edb;
$custom-dark: #000000;
JSON
{
  "hex": "#975fcb",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 271.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.16543,
    "h": 305.9
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#975FCB
secondary
#C2D8AD
accent
#DA4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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