#9823D4#9823D4

#9823D4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.4% C 0.247 H 310.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9823D4
RGBrgb(152, 35, 212)
HSLhsl(280, 72%, 48%)
HSVhsv(280, 83%, 83%)
CMYKcmyk(28.3%, 83.5%, 0%, 16.9%)
CIE-LABlab(42.20, 71.32, -66.64)
CIE-LCHlch(42.20, 97.60, 316.94°)
OKLaboklab(53.44% 0.1587 -0.1893)
OKLCHoklch(53.44% 0.247 310)
XYZxyz(25.4312, 12.6315, 63.3730)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823D4 #5FD423
analogous
#3F23D4 #9823D4 #D423B7
triadic
#9823D4 #D49823 #23D498
tetradic
#9823D4 #D43F23 #5FD423 #23B7D4
square
#9823D4 #D43F23 #5FD423 #23B7D4
split-complementary
#9823D4 #B7D423 #23D43F
monochromatic
#4D126B #721A9F #9823D4 #B152E2 #C986EB

Accessibility & contrast

On white

5.96
#9823D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9823D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823D4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823D4#FFFFFF#000000##FFFFFF
##9823D41.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#8F547F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9823d4;
/* rgb */ color: rgb(152, 35, 212);
/* oklch */ color: oklch(53.4% 0.247 310.0);
Tailwind
colors: {
  custom: {
    50: '#bc6fe2',
    500: '#9823d4',
    950: '#000000',
  },
}
SCSS
$custom: #9823d4;
$custom-light: #bc6fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9823d4",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 279.661,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.24702,
    "h": 310
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#9823D4
secondary
#9CD47E
accent
#EE3977
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130815
muted
#827B84

Preview Lab

Preview with #9823D4

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

Preview Lab → · Contrast checker → · Palette generator →

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