#975FC2#975FC2

#975FC2 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.155 H 308.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#975FC2
RGBrgb(151, 95, 194)
HSLhsl(274, 45%, 57%)
HSVhsv(274, 51%, 76%)
CMYKcmyk(22.2%, 51%, 0%, 23.9%)
CIE-LABlab(50.29, 41.30, -43.27)
CIE-LCHlch(50.29, 59.81, 313.67°)
OKLaboklab(58.86% 0.0963 -0.1211)
OKLCHoklch(58.86% 0.155 308.5)
XYZxyz(26.5904, 18.6591, 53.2293)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FC2 #8AC25F
analogous
#665FC2 #975FC2 #C25FBC
triadic
#975FC2 #C2975F #5FC297
tetradic
#975FC2 #C2665F #8AC25F #5FBCC2
square
#975FC2 #C2665F #8AC25F #5FBCC2
split-complementary
#975FC2 #BCC25F #5FC266
monochromatic
#582E79 #793FA5 #975FC2 #B48BD3 #D1B8E4

Accessibility & contrast

On white

4.44
#975FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#975FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FC2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FC2#FFFFFF#000000##000000
##975FC21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#917088
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975fc2;
/* rgb */ color: rgb(151, 95, 194);
/* oklch */ color: oklch(58.9% 0.155 308.5);
Tailwind
colors: {
  custom: {
    50: '#b88ed5',
    500: '#975fc2',
    950: '#000000',
  },
}
SCSS
$custom: #975fc2;
$custom-light: #b88ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#975fc2",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 273.939,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.15479,
    "h": 308.5
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#975FC2
secondary
#BCD3AA
accent
#D4538B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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