#B23EDB#B23EDB

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

Color values

HEX#B23EDB
RGBrgb(178, 62, 219)
HSLhsl(284, 69%, 55%)
HSVhsv(284, 72%, 86%)
CMYKcmyk(18.7%, 71.7%, 0%, 14.1%)
CIE-LABlab(49.53, 68.50, -58.60)
CIE-LCHlch(49.53, 90.15, 319.45°)
OKLaboklab(59.52% 0.1687 -0.165)
OKLCHoklch(59.52% 0.236 315.6)
XYZxyz(32.8669, 18.0259, 68.7522)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EDB #67DB3E
analogous
#633EDB #B23EDB #DB3EB6
triadic
#B23EDB #DBB23E #3EDBB2
tetradic
#B23EDB #DB633E #67DB3E #3EB6DB
square
#B23EDB #DB633E #67DB3E #3EB6DB
split-complementary
#B23EDB #B6DB3E #3EDB63
monochromatic
#691986 #9223B9 #B23EDB #C772E5 #DBA5EE

Accessibility & contrast

On white

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

On black

4.60
#B23EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23EDB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EDB#FFFFFF#000000##000000
##B23EDB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#AF5F89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b23edb;
/* rgb */ color: rgb(178, 62, 219);
/* oklch */ color: oklch(59.5% 0.236 315.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ee7',
    500: '#b23edb',
    950: '#000000',
  },
}
SCSS
$custom: #b23edb;
$custom-light: #cd7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23edb",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 284.331,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.236,
    "h": 315.6
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

primary
#B23EDB
secondary
#ABDB99
accent
#EB3C6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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