#B258BB#B258BB

#B258BB is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.171 H 323.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B258BB
RGBrgb(178, 88, 187)
HSLhsl(295, 42%, 54%)
HSVhsv(295, 53%, 73%)
CMYKcmyk(4.8%, 52.9%, 0%, 26.7%)
CIE-LABlab(51.88, 50.93, -36.50)
CIE-LCHlch(51.88, 62.66, 324.38°)
OKLaboklab(60.64% 0.1381 -0.1008)
OKLCHoklch(60.64% 0.171 323.9)
XYZxyz(30.8186, 20.0338, 49.2477)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258BB #61BB58
analogous
#8158BB #B258BB #BB5893
triadic
#B258BB #BBB258 #58BBB2
tetradic
#B258BB #BB8158 #61BB58 #5893BB
square
#B258BB #BB8158 #61BB58 #5893BB
split-complementary
#B258BB #93BB58 #58BB81
monochromatic
#672C6C #903E98 #B258BB #C683CD #DAAFDE

Accessibility & contrast

On white

4.19
#B258BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B258BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258BB#FFFFFF#000000##000000
##B258BB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#B56581
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b258bb;
/* rgb */ color: rgb(178, 88, 187);
/* oklch */ color: oklch(60.6% 0.171 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb8bd0',
    500: '#b258bb',
    950: '#000000',
  },
}
SCSS
$custom: #b258bb;
$custom-light: #cb8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b258bb",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 294.545,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.171,
    "h": 323.9
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#B258BB
secondary
#A6CDA2
accent
#D25661
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B258BB

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

Preview Lab → · Contrast checker → · Palette generator →

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