#892EBA#892EBA

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

Color values

HEX#892EBA
RGBrgb(137, 46, 186)
HSLhsl(279, 60%, 45%)
HSVhsv(279, 75%, 73%)
CMYKcmyk(26.3%, 75.3%, 0%, 27.1%)
CIE-LABlab(39.27, 59.92, -56.36)
CIE-LCHlch(39.27, 82.26, 316.75°)
OKLaboklab(50.33% 0.1365 -0.1597)
OKLCHoklch(50.33% 0.21 310.5)
XYZxyz(20.1547, 10.8180, 47.4712)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EBA #5FBA2E
analogous
#432EBA #892EBA #BA2EA5
triadic
#892EBA #BA892E #2EBA89
tetradic
#892EBA #BA432E #5FBA2E #2EA5BA
square
#892EBA #BA432E #5FBA2E #2EA5BA
split-complementary
#892EBA #A5BA2E #2EBA43
monochromatic
#411658 #652289 #892EBA #A651D4 #BF82E0

Accessibility & contrast

On white

6.64
#892EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #892EBA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EBA#FFFFFF#000000##FFFFFF
##892EBA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0B5EB7
Tritanopia (blue-blind)
#824F72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892eba;
/* rgb */ color: rgb(137, 46, 186);
/* oklch */ color: oklch(50.3% 0.210 310.5);
Tailwind
colors: {
  custom: {
    50: '#b070d0',
    500: '#892eba',
    950: '#000000',
  },
}
SCSS
$custom: #892eba;
$custom-light: #b070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#892eba",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 279,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.21009,
    "h": 310.5
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#892EBA
secondary
#96C97B
accent
#E3447C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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