#B258DB#B258DB

#B258DB is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.4% C 0.203 H 313.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B258DB
RGBrgb(178, 88, 219)
HSLhsl(281, 65%, 60%)
HSVhsv(281, 60%, 86%)
CMYKcmyk(18.7%, 59.8%, 0%, 14.1%)
CIE-LABlab(53.56, 57.31, -52.15)
CIE-LCHlch(53.56, 77.49, 317.70°)
OKLaboklab(62.42% 0.1402 -0.1463)
OKLCHoklch(62.42% 0.203 313.8)
XYZxyz(34.6339, 21.5599, 69.3412)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258DB #81DB58
analogous
#7058DB #B258DB #DB58C3
triadic
#B258DB #DBB258 #58DBB2
tetradic
#B258DB #DB7058 #81DB58 #58C3DB
square
#B258DB #DB7058 #81DB58 #58C3DB
split-complementary
#B258DB #C3DB58 #58DB70
monochromatic
#732198 #992CCA #B258DB #C98AE6 #E0BDF1

Accessibility & contrast

On white

3.95
#B258DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B258DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258DB#FFFFFF#000000##000000
##B258DB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#5382D8
Tritanopia (blue-blind)
#AE6F91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b258db;
/* rgb */ color: rgb(178, 88, 219);
/* oklch */ color: oklch(62.4% 0.203 313.8);
Tailwind
colors: {
  custom: {
    50: '#cc8ce7',
    500: '#b258db',
    950: '#000000',
  },
}
SCSS
$custom: #b258db;
$custom-light: #cc8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b258db",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 281.221,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.20262,
    "h": 313.8
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#B258DB
secondary
#BEE1AE
accent
#CC1951
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B258DB

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

Preview Lab → · Contrast checker → · Palette generator →

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