#892EC3#892EC3

#892EC3 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.219 H 308.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#892EC3
RGBrgb(137, 46, 195)
HSLhsl(277, 62%, 47%)
HSVhsv(277, 76%, 76%)
CMYKcmyk(29.7%, 76.4%, 0%, 23.5%)
CIE-LABlab(39.94, 61.84, -60.56)
CIE-LCHlch(39.94, 86.56, 315.60°)
OKLaboklab(51.01% 0.1348 -0.172)
OKLCHoklch(51.01% 0.219 308.1)
XYZxyz(21.1418, 11.2128, 52.6697)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EC3 #68C32E
analogous
#3E2EC3 #892EC3 #C32EB3
triadic
#892EC3 #C3892E #2EC389
tetradic
#892EC3 #C33E2E #68C32E #2EB3C3
square
#892EC3 #C33E2E #68C32E #2EB3C3
split-complementary
#892EC3 #B3C32E #2EC33E
monochromatic
#431760 #662291 #892EC3 #A557D7 #C088E3

Accessibility & contrast

On white

6.48
#892EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#892EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EC3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EC3#FFFFFF#000000##FFFFFF
##892EC31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#805377
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #892ec3;
/* rgb */ color: rgb(137, 46, 195);
/* oklch */ color: oklch(51.0% 0.219 308.1);
Tailwind
colors: {
  custom: {
    50: '#b171d6',
    500: '#892ec3',
    950: '#000000',
  },
}
SCSS
$custom: #892ec3;
$custom-light: #b171d6;
$custom-dark: #000000;
JSON
{
  "hex": "#892ec3",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 276.644,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.21852,
    "h": 308.1
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#892EC3
secondary
#9ECD80
accent
#E54382
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #892EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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