#B258BD#B258BD

#B258BD is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.173 H 323.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B258BD
RGBrgb(178, 88, 189)
HSLhsl(293, 43%, 54%)
HSVhsv(293, 53%, 74%)
CMYKcmyk(5.8%, 53.4%, 0%, 25.9%)
CIE-LABlab(51.97, 51.31, -37.50)
CIE-LCHlch(51.97, 63.56, 323.84°)
OKLaboklab(60.75% 0.1384 -0.1037)
OKLCHoklch(60.75% 0.173 323.2)
XYZxyz(31.0342, 20.1201, 50.3831)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258BD #63BD58
analogous
#8058BD #B258BD #BD5896
triadic
#B258BD #BDB258 #58BDB2
tetradic
#B258BD #BD8058 #63BD58 #5896BD
square
#B258BD #BD8058 #63BD58 #5896BD
split-complementary
#B258BD #96BD58 #58BD80
monochromatic
#682C6F #903D9B #B258BD #C684CE #DAB0E0

Accessibility & contrast

On white

4.18
#B258BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B258BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258BD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258BD#FFFFFF#000000##000000
##B258BD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#B56582
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b258bd;
/* rgb */ color: rgb(178, 88, 189);
/* oklch */ color: oklch(60.7% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#cb8bd1',
    500: '#b258bd',
    950: '#000000',
  },
}
SCSS
$custom: #b258bd;
$custom-light: #cb8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b258bd",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 293.465,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.17292,
    "h": 323.2
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#B258BD
secondary
#A8CEA3
accent
#D35562
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B258BD

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

Preview Lab → · Contrast checker → · Palette generator →

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