#892EC5#892EC5

#892EC5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.220 H 307.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#892EC5
RGBrgb(137, 46, 197)
HSLhsl(276, 62%, 48%)
HSVhsv(276, 77%, 77%)
CMYKcmyk(30.5%, 76.6%, 0%, 22.7%)
CIE-LABlab(40.09, 62.28, -61.48)
CIE-LCHlch(40.09, 87.51, 315.37°)
OKLaboklab(51.16% 0.1343 -0.1747)
OKLCHoklch(51.16% 0.22 307.5)
XYZxyz(21.3694, 11.3039, 53.8686)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EC5 #6AC52E
analogous
#3D2EC5 #892EC5 #C52EB5
triadic
#892EC5 #C5892E #2EC589
tetradic
#892EC5 #C53D2E #6AC52E #2EB5C5
square
#892EC5 #C53D2E #6AC52E #2EB5C5
split-complementary
#892EC5 #B5C52E #2EC53D
monochromatic
#441762 #662293 #892EC5 #A558D8 #C08AE4

Accessibility & contrast

On white

6.44
#892EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#892EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EC5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EC5#FFFFFF#000000##FFFFFF
##892EC51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#7F5479
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #892ec5;
/* rgb */ color: rgb(137, 46, 197);
/* oklch */ color: oklch(51.2% 0.220 307.5);
Tailwind
colors: {
  custom: {
    50: '#b171d8',
    500: '#892ec5',
    950: '#000000',
  },
}
SCSS
$custom: #892ec5;
$custom-light: #b171d8;
$custom-dark: #000000;
JSON
{
  "hex": "#892ec5",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 276.159,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.2204,
    "h": 307.5
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#892EC5
secondary
#A0CE81
accent
#E54383
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #892EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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