#892EC2#892EC2

#892EC2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.218 H 308.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#892EC2
RGBrgb(137, 46, 194)
HSLhsl(277, 62%, 47%)
HSVhsv(277, 76%, 76%)
CMYKcmyk(29.4%, 76.3%, 0%, 23.9%)
CIE-LABlab(39.86, 61.63, -60.09)
CIE-LCHlch(39.86, 86.08, 315.72°)
OKLaboklab(50.93% 0.135 -0.1707)
OKLCHoklch(50.93% 0.218 308.3)
XYZxyz(21.0291, 11.1677, 52.0763)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EC2 #67C22E
analogous
#3F2EC2 #892EC2 #C22EB1
triadic
#892EC2 #C2892E #2EC289
tetradic
#892EC2 #C23F2E #67C22E #2EB1C2
square
#892EC2 #C23F2E #67C22E #2EB1C2
split-complementary
#892EC2 #B1C22E #2EC23F
monochromatic
#43175F #662291 #892EC2 #A556D7 #C088E3

Accessibility & contrast

On white

6.49
#892EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#892EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EC2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EC2#FFFFFF#000000##FFFFFF
##892EC21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892ec2;
/* rgb */ color: rgb(137, 46, 194);
/* oklch */ color: oklch(50.9% 0.218 308.3);
Tailwind
colors: {
  custom: {
    50: '#b171d5',
    500: '#892ec2',
    950: '#000000',
  },
}
SCSS
$custom: #892ec2;
$custom-light: #b171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#892ec2",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 276.892,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.21758,
    "h": 308.3
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #892EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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