#924CD2#924CD2

#924CD2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.200 H 304.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#924CD2
RGBrgb(146, 76, 210)
HSLhsl(271, 60%, 56%)
HSVhsv(271, 64%, 82%)
CMYKcmyk(30.5%, 63.8%, 0%, 17.6%)
CIE-LABlab(46.89, 53.80, -57.93)
CIE-LCHlch(46.89, 79.06, 312.88°)
OKLaboklab(56.55% 0.1142 -0.1642)
OKLCHoklch(56.55% 0.2 304.8)
XYZxyz(26.0688, 15.9332, 62.6623)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#924CD2 #8CD24C
analogous
#4F4CD2 #924CD2 #D24CCF
triadic
#924CD2 #D2924C #4CD292
tetradic
#924CD2 #D24F4C #8CD24C #4CCFD2
square
#924CD2 #D24F4C #8CD24C #4CCFD2
split-complementary
#924CD2 #CFD24C #4CD24F
monochromatic
#542183 #732DB4 #924CD2 #B07DDE #CEAEEB

Accessibility & contrast

On white

5.02
#924CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#924CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #924CD2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##924CD2#FFFFFF#000000##FFFFFF
##924CD21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#866988
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #924cd2;
/* rgb */ color: rgb(146, 76, 210);
/* oklch */ color: oklch(56.5% 0.200 304.8);
Tailwind
colors: {
  custom: {
    50: '#b682e1',
    500: '#924cd2',
    950: '#000000',
  },
}
SCSS
$custom: #924cd2;
$custom-light: #b682e1;
$custom-dark: #000000;
JSON
{
  "hex": "#924cd2",
  "rgb": {
    "r": 146,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 271.343,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56548,
    "c": 0.19998,
    "h": 304.8
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#924CD2
secondary
#BCD9A1
accent
#E34590
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #924CD2

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

Preview Lab → · Contrast checker → · Palette generator →

#924CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva