#9826CA#9826CA

#9826CA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.9% C 0.236 H 312.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9826CA
RGBrgb(152, 38, 202)
HSLhsl(282, 68%, 47%)
HSVhsv(282, 81%, 79%)
CMYKcmyk(24.8%, 81.2%, 0%, 20.8%)
CIE-LABlab(41.73, 68.51, -61.62)
CIE-LCHlch(41.73, 92.14, 318.03°)
OKLaboklab(52.88% 0.1592 -0.1746)
OKLCHoklch(52.88% 0.236 312.4)
XYZxyz(24.3007, 12.3266, 56.9648)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826CA #58CA26
analogous
#4626CA #9826CA #CA26AA
triadic
#9826CA #CA9826 #26CA98
tetradic
#9826CA #CA4626 #58CA26 #26AACA
square
#9826CA #CA4626 #58CA26 #26AACA
split-complementary
#9826CA #AACA26 #26CA46
monochromatic
#4A1363 #711C96 #9826CA #B24FDE #C983E8

Accessibility & contrast

On white

6.06
#9826CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9826CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826CA#FFFFFF#000000##FFFFFF
##9826CA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#92507A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9826ca;
/* rgb */ color: rgb(152, 38, 202);
/* oklch */ color: oklch(52.9% 0.236 312.4);
Tailwind
colors: {
  custom: {
    50: '#bc70db',
    500: '#9826ca',
    950: '#000000',
  },
}
SCSS
$custom: #9826ca;
$custom-light: #bc70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9826ca",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 281.707,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.23627,
    "h": 312.4
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#9826CA
secondary
#95D17B
accent
#EB3D72
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9826CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9826CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva