#8962BE#8962BE

#8962BE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.141 H 301.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8962BE
RGBrgb(137, 98, 190)
HSLhsl(265, 41%, 56%)
HSVhsv(265, 48%, 75%)
CMYKcmyk(27.9%, 48.4%, 0%, 25.5%)
CIE-LABlab(49.22, 34.82, -42.75)
CIE-LCHlch(49.22, 55.13, 309.16°)
OKLaboklab(57.65% 0.0742 -0.12)
OKLCHoklch(57.65% 0.141 301.7)
XYZxyz(23.9764, 17.7714, 50.8723)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962BE #97BE62
analogous
#6269BE #8962BE #B762BE
triadic
#8962BE #BE8962 #62BE89
tetradic
#8962BE #BE6269 #97BE62 #62BEB7
square
#8962BE #BE6269 #97BE62 #62BEB7
split-complementary
#8962BE #BEB762 #69BE62
monochromatic
#4E3075 #6A42A0 #8962BE #AA8DD0 #CAB9E2

Accessibility & contrast

On white

4.61
#8962BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8962BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8962BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962BE#FFFFFF#000000##FFFFFF
##8962BE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#7F7387
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8962be;
/* rgb */ color: rgb(137, 98, 190);
/* oklch */ color: oklch(57.7% 0.141 301.7);
Tailwind
colors: {
  custom: {
    50: '#ae8fd2',
    500: '#8962be',
    950: '#000000',
  },
}
SCSS
$custom: #8962be;
$custom-light: #ae8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8962be",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 265.435,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.14108,
    "h": 301.7
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#8962BE
secondary
#C1D1AB
accent
#D1579D
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8962BE

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

Preview Lab → · Contrast checker → · Palette generator →

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