#B23ECA#B23ECA

#B23ECA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.221 H 320.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B23ECA
RGBrgb(178, 62, 202)
HSLhsl(290, 57%, 52%)
HSVhsv(290, 69%, 79%)
CMYKcmyk(11.9%, 69.3%, 0%, 20.8%)
CIE-LABlab(48.48, 65.28, -50.54)
CIE-LCHlch(48.48, 82.56, 322.25°)
OKLaboklab(58.44% 0.17 -0.1414)
OKLCHoklch(58.44% 0.221 320.2)
XYZxyz(30.7421, 17.1760, 57.5617)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ECA #56CA3E
analogous
#6C3ECA #B23ECA #CA3E9C
triadic
#B23ECA #CAB23E #3ECAB2
tetradic
#B23ECA #CA6C3E #56CA3E #3E9CCA
square
#B23ECA #CA6C3E #56CA3E #3E9CCA
split-complementary
#B23ECA #9CCA3E #3ECA6C
monochromatic
#611F6F #8B2C9F #B23ECA #C56ED7 #D89EE4

Accessibility & contrast

On white

4.74
#B23ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B23ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ECA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ECA#FFFFFF#000000##FFFFFF
##B23ECA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4B77C7
Tritanopia (blue-blind)
#B35880
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23eca;
/* rgb */ color: rgb(178, 62, 202);
/* oklch */ color: oklch(58.4% 0.221 320.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ddb',
    500: '#b23eca',
    950: '#000000',
  },
}
SCSS
$custom: #b23eca;
$custom-light: #cd7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eca",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 289.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.22115,
    "h": 320.2
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#B23ECA
secondary
#9ED193
accent
#E04862
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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