#924ECB#924ECB

#924ECB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.190 H 306.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#924ECB
RGBrgb(146, 78, 203)
HSLhsl(273, 55%, 55%)
HSVhsv(273, 62%, 80%)
CMYKcmyk(28.1%, 61.6%, 0%, 20.4%)
CIE-LABlab(46.81, 51.16, -54.04)
CIE-LCHlch(46.81, 74.41, 313.43°)
OKLaboklab(56.35% 0.1122 -0.1528)
OKLCHoklch(56.35% 0.19 306.3)
XYZxyz(25.3556, 15.8718, 58.2161)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#924ECB #87CB4E
analogous
#544ECB #924ECB #CB4EC5
triadic
#924ECB #CB924E #4ECB92
tetradic
#924ECB #CB544E #87CB4E #4EC5CB
square
#924ECB #CB544E #87CB4E #4EC5CB
split-complementary
#924ECB #C5CB4E #4ECB54
monochromatic
#53247B #7332AA #924ECB #AF7DD9 #CCADE7

Accessibility & contrast

On white

5.03
#924ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#924ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #924ECB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##924ECB#FFFFFF#000000##FFFFFF
##924ECB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056DCF
Deuteranopia (green-blind)
#356FC8
Tritanopia (blue-blind)
#896785
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #924ecb;
/* rgb */ color: rgb(146, 78, 203);
/* oklch */ color: oklch(56.3% 0.190 306.3);
Tailwind
colors: {
  custom: {
    50: '#b683db',
    500: '#924ecb',
    950: '#000000',
  },
}
SCSS
$custom: #924ecb;
$custom-light: #b683db;
$custom-dark: #000000;
JSON
{
  "hex": "#924ecb",
  "rgb": {
    "r": 146,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 272.64,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.18954,
    "h": 306.3
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#924ECB
secondary
#B8D5A0
accent
#DE4A8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #924ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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