#892DCE#892DCE

#892DCE is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.230 H 305.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#892DCE
RGBrgb(137, 45, 206)
HSLhsl(274, 64%, 49%)
HSVhsv(274, 78%, 81%)
CMYKcmyk(33.5%, 78.2%, 0%, 19.2%)
CIE-LABlab(40.66, 64.60, -65.78)
CIE-LCHlch(40.66, 92.20, 314.48°)
OKLaboklab(51.78% 0.133 -0.1874)
OKLCHoklch(51.78% 0.23 305.4)
XYZxyz(22.3930, 11.6515, 59.4498)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DCE #72CE2D
analogous
#392DCE #892DCE #CE2DC3
triadic
#892DCE #CE892D #2DCE89
tetradic
#892DCE #CE392D #72CE2D #2DC3CE
square
#892DCE #CE392D #72CE2D #2DC3CE
split-complementary
#892DCE #C3CE2D #2DCE39
monochromatic
#46176A #68229C #892DCE #A55DDC #C18FE7

Accessibility & contrast

On white

6.31
#892DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#892DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DCE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DCE#FFFFFF#000000##FFFFFF
##892DCE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#7C577E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #892dce;
/* rgb */ color: rgb(137, 45, 206);
/* oklch */ color: oklch(51.8% 0.230 305.4);
Tailwind
colors: {
  custom: {
    50: '#b271de',
    500: '#892dce',
    950: '#000000',
  },
}
SCSS
$custom: #892dce;
$custom-light: #b271de;
$custom-dark: #000000;
JSON
{
  "hex": "#892dce",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 274.286,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.22981,
    "h": 305.4
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#892DCE
secondary
#A6D186
accent
#E74188
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #892DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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