#B230DB#B230DB

#B230DB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.3% C 0.250 H 316.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B230DB
RGBrgb(178, 48, 219)
HSLhsl(286, 70%, 52%)
HSVhsv(286, 78%, 86%)
CMYKcmyk(18.7%, 78.1%, 0%, 14.1%)
CIE-LABlab(47.87, 73.25, -61.27)
CIE-LCHlch(47.87, 95.50, 320.09°)
OKLaboklab(58.35% 0.1807 -0.1728)
OKLCHoklch(58.35% 0.25 316.3)
XYZxyz(32.2012, 16.6947, 68.5303)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230DB #59DB30
analogous
#5D30DB #B230DB #DB30AE
triadic
#B230DB #DBB230 #30DBB2
tetradic
#B230DB #DB5D30 #59DB30 #30AEDB
square
#B230DB #DB5D30 #59DB30 #30AEDB
split-complementary
#B230DB #AEDB30 #30DB5D
monochromatic
#63157B #8D1EAF #B230DB #C564E4 #D998ED

Accessibility & contrast

On white

4.84
#B230DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B230DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230DB#FFFFFF#000000##FFFFFF
##B230DB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#AF5886
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b230db;
/* rgb */ color: rgb(178, 48, 219);
/* oklch */ color: oklch(58.3% 0.250 316.3);
Tailwind
colors: {
  custom: {
    50: '#ce78e7',
    500: '#b230db',
    950: '#000000',
  },
}
SCSS
$custom: #b230db;
$custom-light: #ce78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b230db",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 285.614,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.25004,
    "h": 316.3
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#B230DB
secondary
#A0D98E
accent
#ED3B65
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B230DB

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

Preview Lab → · Contrast checker → · Palette generator →

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