#892EC1#892EC1

#892EC1 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.217 H 308.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#892EC1
RGBrgb(137, 46, 193)
HSLhsl(277, 62%, 47%)
HSVhsv(277, 76%, 76%)
CMYKcmyk(29%, 76.2%, 0%, 24.3%)
CIE-LABlab(39.79, 61.41, -59.63)
CIE-LCHlch(39.79, 85.60, 315.84°)
OKLaboklab(50.86% 0.1352 -0.1693)
OKLCHoklch(50.86% 0.217 308.6)
XYZxyz(20.9172, 11.1230, 51.4868)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EC1 #66C12E
analogous
#402EC1 #892EC1 #C12EB0
triadic
#892EC1 #C1892E #2EC189
tetradic
#892EC1 #C1402E #66C12E #2EB0C1
square
#892EC1 #C1402E #66C12E #2EB0C1
split-complementary
#892EC1 #B0C12E #2EC140
monochromatic
#43165E #662290 #892EC1 #A556D7 #C087E2

Accessibility & contrast

On white

6.51
#892EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#892EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EC1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EC1#FFFFFF#000000##FFFFFF
##892EC11.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#805276
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #892ec1;
/* rgb */ color: rgb(137, 46, 193);
/* oklch */ color: oklch(50.9% 0.217 308.6);
Tailwind
colors: {
  custom: {
    50: '#b171d5',
    500: '#892ec1',
    950: '#000000',
  },
}
SCSS
$custom: #892ec1;
$custom-light: #b171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#892ec1",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 277.143,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.21665,
    "h": 308.6
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#892EC1
secondary
#9CCC7F
accent
#E54381
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #892EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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