#B23DBF#B23DBF

#B23DBF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.213 H 323.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B23DBF
RGBrgb(178, 61, 191)
HSLhsl(294, 52%, 49%)
HSVhsv(294, 68%, 75%)
CMYKcmyk(6.8%, 68.1%, 0%, 25.1%)
CIE-LABlab(47.71, 63.67, -45.41)
CIE-LCHlch(47.71, 78.20, 324.50°)
OKLaboklab(57.68% 0.1714 -0.1264)
OKLCHoklch(57.68% 0.213 323.6)
XYZxyz(29.4320, 16.5658, 50.9274)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DBF #4ABF3D
analogous
#713DBF #B23DBF #BF3D8B
triadic
#B23DBF #BFB23D #3DBFB2
tetradic
#B23DBF #BF713D #4ABF3D #3D8BBF
square
#B23DBF #BF713D #4ABF3D #3D8BBF
split-complementary
#B23DBF #8BBF3D #3DBF71
monochromatic
#5C1F62 #872E91 #B23DBF #C56ACF #D798DE

Accessibility & contrast

On white

4.87
#B23DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B23DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DBF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DBF#FFFFFF#000000##FFFFFF
##B23DBF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#B55279
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23dbf;
/* rgb */ color: rgb(178, 61, 191);
/* oklch */ color: oklch(57.7% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#cd7cd3',
    500: '#b23dbf',
    950: '#000000',
  },
}
SCSS
$custom: #b23dbf;
$custom-light: #cd7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dbf",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 294,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.21296,
    "h": 323.6
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#B23DBF
secondary
#94CA8E
accent
#DB4D5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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