#B23ED7#B23ED7

#B23ED7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.232 H 316.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B23ED7
RGBrgb(178, 62, 215)
HSLhsl(285, 66%, 54%)
HSVhsv(285, 71%, 84%)
CMYKcmyk(17.2%, 71.2%, 0%, 15.7%)
CIE-LABlab(49.27, 67.73, -56.73)
CIE-LCHlch(49.27, 88.35, 320.05°)
OKLaboklab(59.26% 0.1691 -0.1596)
OKLCHoklch(59.26% 0.232 316.7)
XYZxyz(32.3466, 17.8178, 66.0121)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ED7 #63D73E
analogous
#663ED7 #B23ED7 #D73EB0
triadic
#B23ED7 #D7B23E #3ED7B2
tetradic
#B23ED7 #D7663E #63D73E #3EB0D7
square
#B23ED7 #D7663E #63D73E #3EB0D7
split-complementary
#B23ED7 #B0D73E #3ED766
monochromatic
#681B80 #9025B3 #B23ED7 #C671E2 #DAA3EC

Accessibility & contrast

On white

4.60
#B23ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B23ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ED7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ED7#FFFFFF#000000##FFFFFF
##B23ED71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3F78D4
Tritanopia (blue-blind)
#B05D87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23ed7;
/* rgb */ color: rgb(178, 62, 215);
/* oklch */ color: oklch(59.3% 0.232 316.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ee4',
    500: '#b23ed7',
    950: '#000000',
  },
}
SCSS
$custom: #b23ed7;
$custom-light: #cd7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ed7",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 285.49,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.23248,
    "h": 316.7
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#B23ED7
secondary
#A8D998
accent
#E93F68
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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