#975BCA#975BCA

#975BCA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.171 H 306.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#975BCA
RGBrgb(151, 91, 202)
HSLhsl(272, 51%, 57%)
HSVhsv(272, 55%, 79%)
CMYKcmyk(25.2%, 55%, 0%, 20.8%)
CIE-LABlab(49.89, 45.34, -48.50)
CIE-LCHlch(49.89, 66.39, 313.07°)
OKLaboklab(58.71% 0.1023 -0.1364)
OKLCHoklch(58.71% 0.171 306.9)
XYZxyz(27.1621, 18.3260, 57.9720)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BCA #8ECA5B
analogous
#5F5BCA #975BCA #CA5BC6
triadic
#975BCA #CA975B #5BCA97
tetradic
#975BCA #CA5F5B #8ECA5B #5BC6CA
square
#975BCA #CA5F5B #8ECA5B #5BC6CA
split-complementary
#975BCA #C6CA5B #5BCA5F
monochromatic
#592A81 #7939AF #975BCA #B489D9 #D2B8E8

Accessibility & contrast

On white

4.50
#975BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#975BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BCA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BCA#FFFFFF#000000##000000
##975BCA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#8F6F8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975bca;
/* rgb */ color: rgb(151, 91, 202);
/* oklch */ color: oklch(58.7% 0.171 306.9);
Tailwind
colors: {
  custom: {
    50: '#b88cdb',
    500: '#975bca',
    950: '#000000',
  },
}
SCSS
$custom: #975bca;
$custom-light: #b88cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#975bca",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 272.432,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.1705,
    "h": 306.9
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#975BCA
secondary
#BFD7AA
accent
#DB4D8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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