#9723B2#9723B2

#9723B2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.218 H 318.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9723B2
RGBrgb(151, 35, 178)
HSLhsl(289, 67%, 42%)
HSVhsv(289, 80%, 70%)
CMYKcmyk(15.2%, 80.3%, 0%, 30.2%)
CIE-LABlab(39.58, 64.62, -51.04)
CIE-LCHlch(39.58, 82.35, 321.70°)
OKLaboklab(50.8% 0.1647 -0.1435)
OKLCHoklch(50.8% 0.218 318.9)
XYZxyz(21.3983, 10.9968, 43.1063)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9723B2 #3EB223
analogous
#4F23B2 #9723B2 #B22386
triadic
#9723B2 #B29723 #23B297
tetradic
#9723B2 #B24F23 #3EB223 #2386B2
square
#9723B2 #B24F23 #3EB223 #2386B2
split-complementary
#9723B2 #86B223 #23B24F
monochromatic
#400F4C #6C197F #9723B2 #BA3AD8 #CC6DE2

Accessibility & contrast

On white

6.56
#9723B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9723B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9723B2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9723B2#FFFFFF#000000##FFFFFF
##9723B21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#97446B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9723b2;
/* rgb */ color: rgb(151, 35, 178);
/* oklch */ color: oklch(50.8% 0.218 318.9);
Tailwind
colors: {
  custom: {
    50: '#ba6dca',
    500: '#9723b2',
    950: '#000000',
  },
}
SCSS
$custom: #9723b2;
$custom-light: #ba6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9723b2",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 288.671,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.508,
    "c": 0.21847,
    "h": 318.9
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#9723B2
secondary
#7AC968
accent
#EA3E5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9723B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9723B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva