#892DE2#892DE2

#892DE2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.4% C 0.249 H 300.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#892DE2
RGBrgb(137, 45, 226)
HSLhsl(270, 76%, 53%)
HSVhsv(270, 80%, 89%)
CMYKcmyk(39.4%, 80.1%, 0%, 11.4%)
CIE-LABlab(42.29, 69.04, -74.61)
CIE-LCHlch(42.29, 101.65, 312.78°)
OKLaboklab(53.42% 0.1276 -0.2133)
OKLCHoklch(53.42% 0.249 300.9)
XYZxyz(24.9790, 12.6859, 73.0694)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DE2 #86E22D
analogous
#2E2DE2 #892DE2 #E22DE1
triadic
#892DE2 #E2892D #2DE289
tetradic
#892DE2 #E22E2D #86E22D #2DE1E2
square
#892DE2 #E22E2D #86E22D #2DE1E2
split-complementary
#892DE2 #E1E22D #2DE22E
monochromatic
#4B1283 #6A19B8 #892DE2 #A763E9 #C599F1

Accessibility & contrast

On white

5.94
#892DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#892DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DE2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DE2#FFFFFF#000000##FFFFFF
##892DE21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#746089
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #892de2;
/* rgb */ color: rgb(137, 45, 226);
/* oklch */ color: oklch(53.4% 0.249 300.9);
Tailwind
colors: {
  custom: {
    50: '#b372ec',
    500: '#892de2',
    950: '#000000',
  },
}
SCSS
$custom: #892de2;
$custom-light: #b372ec;
$custom-dark: #000000;
JSON
{
  "hex": "#892de2",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 270.497,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.24853,
    "h": 300.9
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#892DE2
secondary
#B5DC8E
accent
#F23592
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #892DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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