#975FA2#975FA2

#975FA2 is a mid, moderate purple. Relative luminance 0.174; OKLCH L 57.2% C 0.118 H 320.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#975FA2
RGBrgb(151, 95, 162)
HSLhsl(290, 26%, 50%)
HSVhsv(290, 41%, 64%)
CMYKcmyk(6.8%, 41.4%, 0%, 36.5%)
CIE-LABlab(48.73, 34.27, -27.08)
CIE-LCHlch(48.73, 43.68, 321.69°)
OKLaboklab(57.19% 0.0914 -0.0744)
OKLCHoklch(57.19% 0.118 320.9)
XYZxyz(23.3755, 17.3732, 36.2974)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FA2 #6AA25F
analogous
#755FA2 #975FA2 #A25F8B
triadic
#975FA2 #A2975F #5FA297
tetradic
#975FA2 #A2755F #6AA25F #5F8BA2
square
#975FA2 #A2755F #6AA25F #5F8BA2
split-complementary
#975FA2 #8BA25F #5FA275
monochromatic
#4F3155 #73487C #975FA2 #B086B8 #C9ACCF

Accessibility & contrast

On white

4.69
#975FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#975FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975FA2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FA2#FFFFFF#000000##FFFFFF
##975FA21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#986779
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975fa2;
/* rgb */ color: rgb(151, 95, 162);
/* oklch */ color: oklch(57.2% 0.118 320.9);
Tailwind
colors: {
  custom: {
    50: '#b78ebd',
    500: '#975fa2',
    950: '#000000',
  },
}
SCSS
$custom: #975fa2;
$custom-light: #b78ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#975fa2",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 290.149,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.11781,
    "h": 320.9
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#975FA2
secondary
#A4BD9F
accent
#C36574
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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