#B23FCD#B23FCD

#B23FCD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.223 H 319.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B23FCD
RGBrgb(178, 63, 205)
HSLhsl(289, 59%, 53%)
HSVhsv(289, 69%, 80%)
CMYKcmyk(13.2%, 69.3%, 0%, 19.6%)
CIE-LABlab(48.80, 65.45, -51.77)
CIE-LCHlch(48.80, 83.45, 321.66°)
OKLaboklab(58.72% 0.1688 -0.145)
OKLCHoklch(58.72% 0.223 319.3)
XYZxyz(31.1556, 17.4293, 59.4689)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FCD #5ACD3F
analogous
#6B3FCD #B23FCD #CD3FA1
triadic
#B23FCD #CDB23F #3FCDB2
tetradic
#B23FCD #CD6B3F #5ACD3F #3FA1CD
square
#B23FCD #CD6B3F #5ACD3F #3FA1CD
split-complementary
#B23FCD #A1CD3F #3FCD6B
monochromatic
#631E74 #8D2BA4 #B23FCD #C570DA #D9A0E6

Accessibility & contrast

On white

4.68
#B23FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B23FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FCD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FCD#FFFFFF#000000##FFFFFF
##B23FCD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#B25A82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23fcd;
/* rgb */ color: rgb(178, 63, 205);
/* oklch */ color: oklch(58.7% 0.223 319.3);
Tailwind
colors: {
  custom: {
    50: '#cd7edd',
    500: '#b23fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b23fcd;
$custom-light: #cd7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fcd",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 288.592,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.22256,
    "h": 319.3
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#B23FCD
secondary
#A1D395
accent
#E24664
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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