#892EC4#892EC4

#892EC4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.219 H 307.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#892EC4
RGBrgb(137, 46, 196)
HSLhsl(276, 62%, 47%)
HSVhsv(276, 77%, 77%)
CMYKcmyk(30.1%, 76.5%, 0%, 23.1%)
CIE-LABlab(40.01, 62.06, -61.02)
CIE-LCHlch(40.01, 87.03, 315.49°)
OKLaboklab(51.09% 0.1345 -0.1734)
OKLCHoklch(51.09% 0.219 307.8)
XYZxyz(21.2552, 11.2582, 53.2672)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EC4 #69C42E
analogous
#3E2EC4 #892EC4 #C42EB4
triadic
#892EC4 #C4892E #2EC489
tetradic
#892EC4 #C43E2E #69C42E #2EB4C4
square
#892EC4 #C43E2E #69C42E #2EB4C4
split-complementary
#892EC4 #B4C42E #2EC43E
monochromatic
#441761 #662292 #892EC4 #A558D8 #C089E3

Accessibility & contrast

On white

6.46
#892EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#892EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EC4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EC4#FFFFFF#000000##FFFFFF
##892EC41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#7F5378
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #892ec4;
/* rgb */ color: rgb(137, 46, 196);
/* oklch */ color: oklch(51.1% 0.219 307.8);
Tailwind
colors: {
  custom: {
    50: '#b171d7',
    500: '#892ec4',
    950: '#000000',
  },
}
SCSS
$custom: #892ec4;
$custom-light: #b171d7;
$custom-dark: #000000;
JSON
{
  "hex": "#892ec4",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 276.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.21947,
    "h": 307.8
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#892EC4
secondary
#9FCD81
accent
#E54383
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #892EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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