#975FBA#975FBA

#975FBA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.145 H 311.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#975FBA
RGBrgb(151, 95, 186)
HSLhsl(277, 40%, 55%)
HSVhsv(277, 49%, 73%)
CMYKcmyk(18.8%, 48.9%, 0%, 27.1%)
CIE-LABlab(49.87, 39.47, -39.30)
CIE-LCHlch(49.87, 55.70, 315.12°)
OKLaboklab(58.42% 0.0954 -0.1096)
OKLCHoklch(58.42% 0.145 311)
XYZxyz(25.7160, 18.3094, 48.6242)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FBA #82BA5F
analogous
#695FBA #975FBA #BA5FB0
triadic
#975FBA #BA975F #5FBA97
tetradic
#975FBA #BA695F #82BA5F #5FB0BA
square
#975FBA #BA695F #82BA5F #5FB0BA
split-complementary
#975FBA #B0BA5F #5FBA69
monochromatic
#57306F #78429A #975FBA #B38ACC #CFB5DF

Accessibility & contrast

On white

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

On black

4.66
#975FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FBA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FBA#FFFFFF#000000##000000
##975FBA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#936E84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975fba;
/* rgb */ color: rgb(151, 95, 186);
/* oklch */ color: oklch(58.4% 0.145 311.0);
Tailwind
colors: {
  custom: {
    50: '#b78ecf',
    500: '#975fba',
    950: '#000000',
  },
}
SCSS
$custom: #975fba;
$custom-light: #b78ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#975fba",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 276.923,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.14535,
    "h": 311
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#975FBA
secondary
#B6CDA7
accent
#D05886
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #975FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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