#8973D3#8973D3

#8973D3 is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.8% C 0.142 H 292.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8973D3
RGBrgb(137, 115, 211)
HSLhsl(254, 52%, 64%)
HSVhsv(254, 45%, 83%)
CMYKcmyk(35.1%, 45.5%, 0%, 17.3%)
CIE-LABlab(54.33, 30.36, -46.66)
CIE-LCHlch(54.33, 55.67, 303.06°)
OKLaboklab(61.85% 0.0539 -0.1314)
OKLCHoklch(61.85% 0.142 292.3)
XYZxyz(28.2021, 22.2824, 64.4304)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8973D3 #BDD373
analogous
#738DD3 #8973D3 #B973D3
triadic
#8973D3 #D38973 #73D389
tetradic
#8973D3 #D3738D #BDD373 #73D3B9
square
#8973D3 #D3738D #BDD373 #73D3B9
split-complementary
#8973D3 #D3B973 #8DD373
monochromatic
#49319B #6244C4 #8973D3 #B0A2E2 #D7D0F0

Accessibility & contrast

On white

3.85
#8973D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8973D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8973D3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8973D3#FFFFFF#000000##000000
##8973D31.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D7
Deuteranopia (green-blind)
#5580D1
Tritanopia (blue-blind)
#778599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8973d3;
/* rgb */ color: rgb(137, 115, 211);
/* oklch */ color: oklch(61.8% 0.142 292.3);
Tailwind
colors: {
  custom: {
    50: '#ae9be1',
    500: '#8973d3',
    950: '#000000',
  },
}
SCSS
$custom: #8973d3;
$custom-light: #ae9be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8973d3",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 211
  },
  "hsl": {
    "h": 253.75,
    "s": 52.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.14204,
    "h": 292.3
  },
  "luminance": 0.22283
}

Semantic roles & 50–950 ramp

primary
#8973D3
secondary
#DAE2C0
accent
#C0269C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8973D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8973D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva