#8962BB#8962BB

#8962BB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.5% C 0.137 H 302.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8962BB
RGBrgb(137, 98, 187)
HSLhsl(266, 40%, 56%)
HSVhsv(266, 48%, 73%)
CMYKcmyk(26.7%, 47.6%, 0%, 26.7%)
CIE-LABlab(49.06, 34.07, -41.26)
CIE-LCHlch(49.06, 53.51, 309.54°)
OKLaboklab(57.48% 0.0738 -0.1157)
OKLCHoklch(57.48% 0.137 302.5)
XYZxyz(23.6519, 17.6416, 49.1632)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962BB #94BB62
analogous
#6267BB #8962BB #B562BB
triadic
#8962BB #BB8962 #62BB89
tetradic
#8962BB #BB6267 #94BB62 #62BBB5
square
#8962BB #BB6267 #94BB62 #62BBB5
split-complementary
#8962BB #BBB562 #67BB62
monochromatic
#4D3171 #6A449C #8962BB #A98DCD #C9B7E0

Accessibility & contrast

On white

4.64
#8962BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8962BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8962BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962BB#FFFFFF#000000##FFFFFF
##8962BB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#807286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8962bb;
/* rgb */ color: rgb(137, 98, 187);
/* oklch */ color: oklch(57.5% 0.137 302.5);
Tailwind
colors: {
  custom: {
    50: '#ad8fd0',
    500: '#8962bb',
    950: '#000000',
  },
}
SCSS
$custom: #8962bb;
$custom-light: #ad8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8962bb",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 266.292,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57481,
    "c": 0.13722,
    "h": 302.5
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#8962BB
secondary
#BFCFAA
accent
#CF589B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8962BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8962BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva