#B258BA#B258BA

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

Color values

HEX#B258BA
RGBrgb(178, 88, 186)
HSLhsl(295, 42%, 54%)
HSVhsv(295, 53%, 73%)
CMYKcmyk(4.3%, 52.7%, 0%, 27.1%)
CIE-LABlab(51.83, 50.75, -35.99)
CIE-LCHlch(51.83, 62.21, 324.65°)
OKLaboklab(60.59% 0.138 -0.0993)
OKLCHoklch(60.59% 0.17 324.3)
XYZxyz(30.7120, 19.9911, 48.6858)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258BA #60BA58
analogous
#8158BA #B258BA #BA5891
triadic
#B258BA #BAB258 #58BAB2
tetradic
#B258BA #BA8158 #60BA58 #5891BA
square
#B258BA #BA8158 #60BA58 #5891BA
split-complementary
#B258BA #91BA58 #58BA81
monochromatic
#662C6B #8F3E97 #B258BA #C683CC #DAAFDE

Accessibility & contrast

On white

4.20
#B258BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B258BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258BA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258BA#FFFFFF#000000##000000
##B258BA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#B56481
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b258ba;
/* rgb */ color: rgb(178, 88, 186);
/* oklch */ color: oklch(60.6% 0.170 324.3);
Tailwind
colors: {
  custom: {
    50: '#cb8bcf',
    500: '#b258ba',
    950: '#000000',
  },
}
SCSS
$custom: #b258ba;
$custom-light: #cb8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ba",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 295.102,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.17005,
    "h": 324.3
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#B258BA
secondary
#A5CCA2
accent
#D15660
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B258BA

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

Preview Lab → · Contrast checker → · Palette generator →

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