#892DBB#892DBB

#892DBB is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.212 H 310.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#892DBB
RGBrgb(137, 45, 187)
HSLhsl(279, 61%, 45%)
HSVhsv(279, 76%, 73%)
CMYKcmyk(26.7%, 75.9%, 0%, 26.7%)
CIE-LABlab(39.21, 60.51, -57.04)
CIE-LCHlch(39.21, 83.16, 316.69°)
OKLaboklab(50.32% 0.1372 -0.1617)
OKLCHoklch(50.32% 0.212 310.3)
XYZxyz(20.2228, 10.7834, 48.0202)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DBB #5FBB2D
analogous
#422DBB #892DBB #BB2DA6
triadic
#892DBB #BB892D #2DBB89
tetradic
#892DBB #BB422D #5FBB2D #2DA6BB
square
#892DBB #BB422D #5FBB2D #2DA6BB
split-complementary
#892DBB #A6BB2D #2DBB42
monochromatic
#411558 #65218A #892DBB #A650D5 #BF82E1

Accessibility & contrast

On white

6.65
#892DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#892DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DBB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DBB#FFFFFF#000000##FFFFFF
##892DBB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#824F73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892dbb;
/* rgb */ color: rgb(137, 45, 187);
/* oklch */ color: oklch(50.3% 0.212 310.3);
Tailwind
colors: {
  custom: {
    50: '#b070d0',
    500: '#892dbb',
    950: '#000000',
  },
}
SCSS
$custom: #892dbb;
$custom-light: #b070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#892dbb",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 278.873,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.21207,
    "h": 310.3
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#892DBB
secondary
#96CA7A
accent
#E4437C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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