#B23ECC#B23ECC

#B23ECC is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.223 H 319.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B23ECC
RGBrgb(178, 62, 204)
HSLhsl(289, 58%, 52%)
HSVhsv(289, 70%, 80%)
CMYKcmyk(12.7%, 69.6%, 0%, 20%)
CIE-LABlab(48.60, 65.65, -51.50)
CIE-LCHlch(48.60, 83.44, 321.89°)
OKLaboklab(58.56% 0.1699 -0.1442)
OKLCHoklch(58.56% 0.223 319.7)
XYZxyz(30.9804, 17.2714, 58.8169)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ECC #58CC3E
analogous
#6B3ECC #B23ECC #CC3E9F
triadic
#B23ECC #CCB23E #3ECCB2
tetradic
#B23ECC #CC6B3E #58CC3E #3E9FCC
square
#B23ECC #CC6B3E #58CC3E #3E9FCC
split-complementary
#B23ECC #9FCC3E #3ECC6B
monochromatic
#621E72 #8C2BA2 #B23ECC #C56ED9 #D99FE6

Accessibility & contrast

On white

4.71
#B23ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B23ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ECC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ECC#FFFFFF#000000##FFFFFF
##B23ECC1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#B25981
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ecc;
/* rgb */ color: rgb(178, 62, 204);
/* oklch */ color: oklch(58.6% 0.223 319.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ddc',
    500: '#b23ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b23ecc;
$custom-light: #cd7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ecc",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 289.014,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.22288,
    "h": 319.7
  },
  "luminance": 0.1727
}

Semantic roles & 50–950 ramp

primary
#B23ECC
secondary
#9FD294
accent
#E14663
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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