#892BBB#892BBB

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

Color values

HEX#892BBB
RGBrgb(137, 43, 187)
HSLhsl(279, 63%, 45%)
HSVhsv(279, 77%, 73%)
CMYKcmyk(26.7%, 77%, 0%, 26.7%)
CIE-LABlab(38.96, 61.24, -57.46)
CIE-LCHlch(38.96, 83.97, 316.83°)
OKLaboklab(50.14% 0.139 -0.1629)
OKLCHoklch(50.14% 0.214 310.5)
XYZxyz(20.1483, 10.6344, 47.9953)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892BBB #5DBB2B
analogous
#412BBB #892BBB #BB2BA5
triadic
#892BBB #BB892B #2BBB89
tetradic
#892BBB #BB412B #5DBB2B #2BA5BB
square
#892BBB #BB412B #5DBB2B #2BA5BB
split-complementary
#892BBB #A5BB2B #2BBB41
monochromatic
#401457 #652089 #892BBB #A74DD6 #BF7FE2

Accessibility & contrast

On white

6.72
#892BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#892BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892BBB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892BBB#FFFFFF#000000##FFFFFF
##892BBB1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#824E72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892bbb;
/* rgb */ color: rgb(137, 43, 187);
/* oklch */ color: oklch(50.1% 0.214 310.5);
Tailwind
colors: {
  custom: {
    50: '#b06fd0',
    500: '#892bbb',
    950: '#000000',
  },
}
SCSS
$custom: #892bbb;
$custom-light: #b06fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#892bbb",
  "rgb": {
    "r": 137,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 279.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.21412,
    "h": 310.5
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#892BBB
secondary
#94CA78
accent
#E6427B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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