#B23FD9#B23FD9

#B23FD9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.233 H 316.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B23FD9
RGBrgb(178, 63, 217)
HSLhsl(285, 67%, 55%)
HSVhsv(285, 71%, 85%)
CMYKcmyk(18%, 71%, 0%, 14.9%)
CIE-LABlab(49.53, 67.74, -57.45)
CIE-LCHlch(49.53, 88.82, 319.70°)
OKLaboklab(59.48% 0.1679 -0.1617)
OKLCHoklch(59.48% 0.233 316.1)
XYZxyz(32.6600, 18.0310, 67.3921)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FD9 #66D93F
analogous
#653FD9 #B23FD9 #D93FB3
triadic
#B23FD9 #D9B23F #3FD9B2
tetradic
#B23FD9 #D9653F #66D93F #3FB3D9
square
#B23FD9 #D9653F #66D93F #3FB3D9
split-complementary
#B23FD9 #B3D93F #3FD965
monochromatic
#691A84 #9224B7 #B23FD9 #C672E3 #DBA5ED

Accessibility & contrast

On white

4.56
#B23FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B23FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23FD9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FD9#FFFFFF#000000##000000
##B23FD91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#AF5F88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b23fd9;
/* rgb */ color: rgb(178, 63, 217);
/* oklch */ color: oklch(59.5% 0.233 316.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ee5',
    500: '#b23fd9',
    950: '#000000',
  },
}
SCSS
$custom: #b23fd9;
$custom-light: #cd7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fd9",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 284.805,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59482,
    "c": 0.23311,
    "h": 316.1
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#B23FD9
secondary
#AADA9A
accent
#EA3E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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