#892DC3#892DC3

#892DC3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.220 H 308.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#892DC3
RGBrgb(137, 45, 195)
HSLhsl(277, 63%, 47%)
HSVhsv(277, 77%, 76%)
CMYKcmyk(29.7%, 76.9%, 0%, 23.5%)
CIE-LABlab(39.81, 62.21, -60.77)
CIE-LCHlch(39.81, 86.97, 315.67°)
OKLaboklab(50.92% 0.1356 -0.1726)
OKLCHoklch(50.92% 0.22 308.1)
XYZxyz(21.1032, 11.1356, 52.6568)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DC3 #67C32D
analogous
#3E2DC3 #892DC3 #C32DB2
triadic
#892DC3 #C3892D #2DC389
tetradic
#892DC3 #C33E2D #67C32D #2DB2C3
square
#892DC3 #C33E2D #67C32D #2DB2C3
split-complementary
#892DC3 #B2C32D #2DC33E
monochromatic
#431660 #662291 #892DC3 #A555D8 #C087E3

Accessibility & contrast

On white

6.51
#892DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #892DC3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DC3#FFFFFF#000000##FFFFFF
##892DC31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892dc3;
/* rgb */ color: rgb(137, 45, 195);
/* oklch */ color: oklch(50.9% 0.220 308.1);
Tailwind
colors: {
  custom: {
    50: '#b170d6',
    500: '#892dc3',
    950: '#000000',
  },
}
SCSS
$custom: #892dc3;
$custom-light: #b170d6;
$custom-dark: #000000;
JSON
{
  "hex": "#892dc3",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 276.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.21953,
    "h": 308.1
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#892DC3
secondary
#9DCD7F
accent
#E64281
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #892DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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