#975ABA#975ABA

#975ABA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.154 H 311.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975ABA
RGBrgb(151, 90, 186)
HSLhsl(278, 41%, 54%)
HSVhsv(278, 52%, 73%)
CMYKcmyk(18.8%, 51.6%, 0%, 27.1%)
CIE-LABlab(48.81, 42.21, -40.98)
CIE-LCHlch(48.81, 58.84, 315.85°)
OKLaboklab(57.63% 0.1025 -0.1145)
OKLCHoklch(57.63% 0.154 311.8)
XYZxyz(25.2800, 17.4373, 48.4789)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ABA #7DBA5A
analogous
#675ABA #975ABA #BA5AAD
triadic
#975ABA #BA975A #5ABA97
tetradic
#975ABA #BA675A #7DBA5A #5AADBA
square
#975ABA #BA675A #7DBA5A #5AADBA
split-complementary
#975ABA #ADBA5A #5ABA67
monochromatic
#552D6C #773F97 #975ABA #B285CC #CDB0DE

Accessibility & contrast

On white

4.68
#975ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#975ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975ABA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ABA#FFFFFF#000000##FFFFFF
##975ABA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#936A81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975aba;
/* rgb */ color: rgb(151, 90, 186);
/* oklch */ color: oklch(57.6% 0.154 311.8);
Tailwind
colors: {
  custom: {
    50: '#b88bcf',
    500: '#975aba',
    950: '#000000',
  },
}
SCSS
$custom: #975aba;
$custom-light: #b88bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#975aba",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 278.125,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.15364,
    "h": 311.8
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#975ABA
secondary
#B2CCA3
accent
#D15783
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #975ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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