#B258AC#B258AC

#B258AC is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.157 H 329.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B258AC
RGBrgb(178, 88, 172)
HSLhsl(304, 37%, 52%)
HSVhsv(304, 51%, 70%)
CMYKcmyk(0%, 50.6%, 3.4%, 30.2%)
CIE-LABlab(51.18, 48.18, -28.86)
CIE-LCHlch(51.18, 56.16, 329.07°)
OKLaboklab(59.9% 0.1359 -0.0789)
OKLCHoklch(59.9% 0.157 329.9)
XYZxyz(29.2959, 19.4247, 41.2280)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258AC #58B25E
analogous
#8B58B2 #B258AC #B2587F
triadic
#B258AC #ACB258 #58ACB2
tetradic
#B258AC #B28B58 #58B25E #587FB2
square
#B258AC #B28B58 #58B25E #587FB2
split-complementary
#B258AC #7FB258 #58B28B
monochromatic
#622D5F #8C4187 #B258AC #C582C1 #D9ACD6

Accessibility & contrast

On white

4.30
#B258AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B258AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258AC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258AC#FFFFFF#000000##000000
##B258AC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AF
Deuteranopia (green-blind)
#6D7EA9
Tritanopia (blue-blind)
#B8607A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b258ac;
/* rgb */ color: rgb(178, 88, 172);
/* oklch */ color: oklch(59.9% 0.157 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb8bc5',
    500: '#b258ac',
    950: '#000000',
  },
}
SCSS
$custom: #b258ac;
$custom-light: #cb8bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ac",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 304,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.15713,
    "h": 329.9
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#B258AC
secondary
#9FC7A2
accent
#CD635B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B258AC

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

Preview Lab → · Contrast checker → · Palette generator →

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