#B23CCF#B23CCF

#B23CCF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.228 H 318.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B23CCF
RGBrgb(178, 60, 207)
HSLhsl(288, 60%, 52%)
HSVhsv(288, 71%, 81%)
CMYKcmyk(14%, 71%, 0%, 18.8%)
CIE-LABlab(48.52, 66.97, -53.37)
CIE-LCHlch(48.52, 85.63, 321.45°)
OKLaboklab(58.56% 0.1717 -0.1497)
OKLCHoklch(58.56% 0.228 318.9)
XYZxyz(31.2369, 17.2032, 60.6945)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CCF #59CF3C
analogous
#683CCF #B23CCF #CF3CA3
triadic
#B23CCF #CFB23C #3CCFB2
tetradic
#B23CCF #CF683C #59CF3C #3CA3CF
square
#B23CCF #CF683C #59CF3C #3CA3CF
split-complementary
#B23CCF #A3CF3C #3CCF68
monochromatic
#631D74 #8D29A5 #B23CCF #C56DDB #D99EE7

Accessibility & contrast

On white

4.73
#B23CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B23CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CCF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CCF#FFFFFF#000000##FFFFFF
##B23CCF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#B25982
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ccf;
/* rgb */ color: rgb(178, 60, 207);
/* oklch */ color: oklch(58.6% 0.228 318.9);
Tailwind
colors: {
  custom: {
    50: '#cd7cde',
    500: '#b23ccf',
    950: '#000000',
  },
}
SCSS
$custom: #b23ccf;
$custom-light: #cd7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ccf",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 288.163,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.22779,
    "h": 318.9
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#B23CCF
secondary
#A0D393
accent
#E44464
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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