#892DCA#892DCA

#892DCA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.226 H 306.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#892DCA
RGBrgb(137, 45, 202)
HSLhsl(275, 64%, 48%)
HSVhsv(275, 78%, 79%)
CMYKcmyk(32.2%, 77.7%, 0%, 20.8%)
CIE-LABlab(40.34, 63.73, -63.97)
CIE-LCHlch(40.34, 90.30, 314.89°)
OKLaboklab(51.46% 0.134 -0.1821)
OKLCHoklch(51.46% 0.226 306.4)
XYZxyz(21.9132, 11.4596, 56.9232)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DCA #6ECA2D
analogous
#3A2DCA #892DCA #CA2DBC
triadic
#892DCA #CA892D #2DCA89
tetradic
#892DCA #CA3A2D #6ECA2D #2DBCCA
square
#892DCA #CA3A2D #6ECA2D #2DBCCA
split-complementary
#892DCA #BCCA2D #2DCA3A
monochromatic
#451766 #672298 #892DCA #A55ADA #C08CE5

Accessibility & contrast

On white

6.38
#892DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#892DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DCA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DCA#FFFFFF#000000##FFFFFF
##892DCA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#7D567B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #892dca;
/* rgb */ color: rgb(137, 45, 202);
/* oklch */ color: oklch(51.5% 0.226 306.4);
Tailwind
colors: {
  custom: {
    50: '#b171db',
    500: '#892dca',
    950: '#000000',
  },
}
SCSS
$custom: #892dca;
$custom-light: #b171db;
$custom-dark: #000000;
JSON
{
  "hex": "#892dca",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 275.159,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.22607,
    "h": 306.4
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#892DCA
secondary
#A3CF83
accent
#E74186
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #892DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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