#8962BC#8962BC

#8962BC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.5% C 0.139 H 302.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8962BC
RGBrgb(137, 98, 188)
HSLhsl(266, 40%, 56%)
HSVhsv(266, 48%, 74%)
CMYKcmyk(27.1%, 47.9%, 0%, 26.3%)
CIE-LABlab(49.11, 34.32, -41.76)
CIE-LCHlch(49.11, 54.05, 309.41°)
OKLaboklab(57.54% 0.0739 -0.1171)
OKLCHoklch(57.54% 0.139 302.3)
XYZxyz(23.7593, 17.6846, 49.7290)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962BC #95BC62
analogous
#6268BC #8962BC #B662BC
triadic
#8962BC #BC8962 #62BC89
tetradic
#8962BC #BC6268 #95BC62 #62BCB6
square
#8962BC #BC6268 #95BC62 #62BCB6
split-complementary
#8962BC #BCB662 #68BC62
monochromatic
#4D3173 #6A439E #8962BC #A98DCE #C9B8E1

Accessibility & contrast

On white

4.63
#8962BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8962BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8962BC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962BC#FFFFFF#000000##FFFFFF
##8962BC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#807286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8962bc;
/* rgb */ color: rgb(137, 98, 188);
/* oklch */ color: oklch(57.5% 0.139 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae8fd0',
    500: '#8962bc',
    950: '#000000',
  },
}
SCSS
$custom: #8962bc;
$custom-light: #ae8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8962bc",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 266,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.13851,
    "h": 302.3
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8962BC

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

Preview Lab → · Contrast checker → · Palette generator →

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