#B23CCD#B23CCD

#B23CCD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.226 H 319.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B23CCD
RGBrgb(178, 60, 205)
HSLhsl(289, 59%, 52%)
HSVhsv(289, 71%, 80%)
CMYKcmyk(13.2%, 70.7%, 0%, 19.6%)
CIE-LABlab(48.39, 66.59, -52.41)
CIE-LCHlch(48.39, 84.74, 321.80°)
OKLaboklab(58.43% 0.1718 -0.1469)
OKLCHoklch(58.43% 0.226 319.5)
XYZxyz(30.9940, 17.1060, 59.4150)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CCD #57CD3C
analogous
#6A3CCD #B23CCD #CD3C9F
triadic
#B23CCD #CDB23C #3CCDB2
tetradic
#B23CCD #CD6A3C #57CD3C #3C9FCD
square
#B23CCD #CD6A3C #57CD3C #3C9FCD
split-complementary
#B23CCD #9FCD3C #3CCD6A
monochromatic
#621D71 #8C2AA2 #B23CCD #C56DD9 #D89DE6

Accessibility & contrast

On white

4.75
#B23CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B23CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CCD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CCD#FFFFFF#000000##FFFFFF
##B23CCD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#B25881
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ccd;
/* rgb */ color: rgb(178, 60, 205);
/* oklch */ color: oklch(58.4% 0.226 319.5);
Tailwind
colors: {
  custom: {
    50: '#cd7cdd',
    500: '#b23ccd',
    950: '#000000',
  },
}
SCSS
$custom: #b23ccd;
$custom-light: #cd7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ccd",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 288.828,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.22607,
    "h": 319.5
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#B23CCD
secondary
#9ED293
accent
#E24563
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23CCD

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

Preview Lab → · Contrast checker → · Palette generator →

#B23CCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva