#B23FD3#B23FD3

#B23FD3 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.228 H 317.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B23FD3
RGBrgb(178, 63, 211)
HSLhsl(287, 63%, 54%)
HSVhsv(287, 70%, 83%)
CMYKcmyk(15.6%, 70.1%, 0%, 17.3%)
CIE-LABlab(49.16, 66.59, -54.63)
CIE-LCHlch(49.16, 86.13, 320.64°)
OKLaboklab(59.1% 0.1684 -0.1534)
OKLCHoklch(59.1% 0.228 317.7)
XYZxyz(31.8938, 17.7245, 63.3566)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FD3 #60D33F
analogous
#683FD3 #B23FD3 #D33FAA
triadic
#B23FD3 #D3B23F #3FD3B2
tetradic
#B23FD3 #D3683F #60D33F #3FAAD3
square
#B23FD3 #D3683F #60D33F #3FAAD3
split-complementary
#B23FD3 #AAD33F #3FD368
monochromatic
#661C7B #8F28AD #B23FD3 #C671DE #DAA3EA

Accessibility & contrast

On white

4.62
#B23FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B23FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FD3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FD3#FFFFFF#000000##FFFFFF
##B23FD31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#4478D0
Tritanopia (blue-blind)
#B15C85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23fd3;
/* rgb */ color: rgb(178, 63, 211);
/* oklch */ color: oklch(59.1% 0.228 317.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ee1',
    500: '#b23fd3',
    950: '#000000',
  },
}
SCSS
$custom: #b23fd3;
$custom-light: #cd7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fd3",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 286.622,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.22782,
    "h": 317.7
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#B23FD3
secondary
#A5D797
accent
#E64267
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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