#9818B4#9818B4

#9818B4 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.4% C 0.229 H 319.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9818B4
RGBrgb(152, 24, 180)
HSLhsl(289, 76%, 40%)
HSVhsv(289, 87%, 71%)
CMYKcmyk(15.6%, 86.7%, 0%, 29.4%)
CIE-LABlab(38.94, 67.89, -53.24)
CIE-LCHlch(38.94, 86.28, 321.90°)
OKLaboklab(50.43% 0.1727 -0.1499)
OKLCHoklch(50.43% 0.229 319)
XYZxyz(21.5126, 10.6251, 44.0889)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9818B4 #34B418
analogous
#4A18B4 #9818B4 #B41882
triadic
#9818B4 #B49818 #18B498
tetradic
#9818B4 #B44A18 #34B418 #1882B4
square
#9818B4 #B44A18 #34B418 #1882B4
split-complementary
#9818B4 #82B418 #18B44A
monochromatic
#3D0A48 #6A117E #9818B4 #C127E2 #D05DE9

Accessibility & contrast

On white

6.72
#9818B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9818B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9818B4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9818B4#FFFFFF#000000##FFFFFF
##9818B41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#98406B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9818b4;
/* rgb */ color: rgb(152, 24, 180);
/* oklch */ color: oklch(50.4% 0.229 319.0);
Tailwind
colors: {
  custom: {
    50: '#bb6acb',
    500: '#9818b4',
    950: '#000000',
  },
}
SCSS
$custom: #9818b4;
$custom-light: #bb6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9818b4",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 289.231,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.22864,
    "h": 319
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#9818B4
secondary
#6FCD5B
accent
#F33557
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #9818B4

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

Preview Lab → · Contrast checker → · Palette generator →

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