#9823B4#9823B4

#9823B4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.220 H 318.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9823B4
RGBrgb(152, 35, 180)
HSLhsl(288, 67%, 42%)
HSVhsv(288, 81%, 71%)
CMYKcmyk(15.6%, 80.6%, 0%, 29.4%)
CIE-LABlab(39.87, 65.17, -51.73)
CIE-LCHlch(39.87, 83.21, 321.56°)
OKLaboklab(51.08% 0.1656 -0.1456)
OKLCHoklch(51.08% 0.22 318.7)
XYZxyz(21.7870, 11.1738, 44.1803)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823B4 #3FB423
analogous
#5023B4 #9823B4 #B42387
triadic
#9823B4 #B49823 #23B498
tetradic
#9823B4 #B45023 #3FB423 #2387B4
square
#9823B4 #B45023 #3FB423 #2387B4
split-complementary
#9823B4 #87B423 #23B450
monochromatic
#410F4E #6D1981 #9823B4 #BA3BD9 #CC6EE3

Accessibility & contrast

On white

6.49
#9823B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9823B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823B4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823B4#FFFFFF#000000##FFFFFF
##9823B41.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#2D62B1
Tritanopia (blue-blind)
#97446D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9823b4;
/* rgb */ color: rgb(152, 35, 180);
/* oklch */ color: oklch(51.1% 0.220 318.7);
Tailwind
colors: {
  custom: {
    50: '#bb6dcb',
    500: '#9823b4',
    950: '#000000',
  },
}
SCSS
$custom: #9823b4;
$custom-light: #bb6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9823b4",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 288.414,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.22047,
    "h": 318.7
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#9823B4
secondary
#7CC969
accent
#EA3D5F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9823B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9823B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva