#975DBA#975DBA

#975DBA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.149 H 311.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#975DBA
RGBrgb(151, 93, 186)
HSLhsl(277, 40%, 55%)
HSVhsv(277, 50%, 73%)
CMYKcmyk(18.8%, 50%, 0%, 27.1%)
CIE-LABlab(49.44, 40.57, -39.98)
CIE-LCHlch(49.44, 56.96, 315.42°)
OKLaboklab(58.1% 0.0983 -0.1116)
OKLCHoklch(58.1% 0.149 311.4)
XYZxyz(25.5382, 17.9537, 48.5649)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DBA #80BA5D
analogous
#685DBA #975DBA #BA5DAF
triadic
#975DBA #BA975D #5DBA97
tetradic
#975DBA #BA685D #80BA5D #5DAFBA
square
#975DBA #BA685D #80BA5D #5DAFBA
split-complementary
#975DBA #AFBA5D #5DBA68
monochromatic
#562F6E #784199 #975DBA #B388CC #CEB3DF

Accessibility & contrast

On white

4.57
#975DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#975DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DBA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DBA#FFFFFF#000000##000000
##975DBA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#936C83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975dba;
/* rgb */ color: rgb(151, 93, 186);
/* oklch */ color: oklch(58.1% 0.149 311.4);
Tailwind
colors: {
  custom: {
    50: '#b88dcf',
    500: '#975dba',
    950: '#000000',
  },
}
SCSS
$custom: #975dba;
$custom-light: #b88dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#975dba",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 277.419,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.14868,
    "h": 311.4
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#975DBA
secondary
#B5CDA6
accent
#D05885
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #975DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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