#892BBA#892BBA

#892BBA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.213 H 310.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#892BBA
RGBrgb(137, 43, 186)
HSLhsl(279, 62%, 45%)
HSVhsv(279, 77%, 73%)
CMYKcmyk(26.3%, 76.9%, 0%, 27.1%)
CIE-LABlab(38.88, 61.03, -56.99)
CIE-LCHlch(38.88, 83.50, 316.96°)
OKLaboklab(50.06% 0.1392 -0.1615)
OKLCHoklch(50.06% 0.213 310.7)
XYZxyz(20.0416, 10.5918, 47.4335)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892BBA #5CBA2B
analogous
#422BBA #892BBA #BA2BA3
triadic
#892BBA #BA892B #2BBA89
tetradic
#892BBA #BA422B #5CBA2B #2BA3BA
square
#892BBA #BA422B #5CBA2B #2BA3BA
split-complementary
#892BBA #A3BA2B #2BBA42
monochromatic
#401457 #642088 #892BBA #A74CD6 #BF7EE1

Accessibility & contrast

On white

6.73
#892BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#892BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892BBA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892BBA#FFFFFF#000000##FFFFFF
##892BBA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#025DB7
Tritanopia (blue-blind)
#824E72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892bba;
/* rgb */ color: rgb(137, 43, 186);
/* oklch */ color: oklch(50.1% 0.213 310.7);
Tailwind
colors: {
  custom: {
    50: '#b06fd0',
    500: '#892bba',
    950: '#000000',
  },
}
SCSS
$custom: #892bba;
$custom-light: #b06fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#892bba",
  "rgb": {
    "r": 137,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 279.441,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.21319,
    "h": 310.7
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#892BBA
secondary
#93CA77
accent
#E6427A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892BBA

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

Preview Lab → · Contrast checker → · Palette generator →

#892BBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva