#B23CD7#B23CD7

#B23CD7 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.235 H 316.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B23CD7
RGBrgb(178, 60, 215)
HSLhsl(286, 66%, 54%)
HSVhsv(286, 72%, 84%)
CMYKcmyk(17.2%, 72.1%, 0%, 15.7%)
CIE-LABlab(49.01, 68.48, -57.15)
CIE-LCHlch(49.01, 89.19, 320.15°)
OKLaboklab(59.07% 0.171 -0.1608)
OKLCHoklch(59.07% 0.235 316.8)
XYZxyz(32.2399, 17.6043, 65.9765)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CD7 #61D73C
analogous
#653CD7 #B23CD7 #D73CAF
triadic
#B23CD7 #D7B23C #3CD7B2
tetradic
#B23CD7 #D7653C #61D73C #3CAFD7
square
#B23CD7 #D7653C #61D73C #3CAFD7
split-complementary
#B23CD7 #AFD73C #3CD765
monochromatic
#671A7F #9024B1 #B23CD7 #C66FE1 #DAA2EC

Accessibility & contrast

On white

4.65
#B23CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B23CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CD7#FFFFFF#000000##FFFFFF
##B23CD71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#B05C86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23cd7;
/* rgb */ color: rgb(178, 60, 215);
/* oklch */ color: oklch(59.1% 0.235 316.8);
Tailwind
colors: {
  custom: {
    50: '#cd7de4',
    500: '#b23cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b23cd7;
$custom-light: #cd7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cd7",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 285.677,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.23471,
    "h": 316.8
  },
  "luminance": 0.17603
}

Semantic roles & 50–950 ramp

primary
#B23CD7
secondary
#A6D896
accent
#E93F67
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B23CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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