#B258D5#B258D5

#B258D5 is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.197 H 315.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B258D5
RGBrgb(178, 88, 213)
HSLhsl(283, 60%, 59%)
HSVhsv(283, 59%, 84%)
CMYKcmyk(16.4%, 58.7%, 0%, 16.5%)
CIE-LABlab(53.22, 56.07, -49.28)
CIE-LCHlch(53.22, 74.65, 318.69°)
OKLaboklab(62.07% 0.1401 -0.1379)
OKLCHoklch(62.07% 0.197 315.4)
XYZxyz(33.8582, 21.2496, 65.2559)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258D5 #7BD558
analogous
#7458D5 #B258D5 #D558BA
triadic
#B258D5 #D5B258 #58D5B2
tetradic
#B258D5 #D57458 #7BD558 #58BAD5
square
#B258D5 #D57458 #7BD558 #58BAD5
split-complementary
#B258D5 #BAD558 #58D574
monochromatic
#71248F #9730C0 #B258D5 #C989E1 #DFBAEE

Accessibility & contrast

On white

4.00
#B258D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B258D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258D5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258D5#FFFFFF#000000##000000
##B258D51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#5782D2
Tritanopia (blue-blind)
#B06D8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b258d5;
/* rgb */ color: rgb(178, 88, 213);
/* oklch */ color: oklch(62.1% 0.197 315.4);
Tailwind
colors: {
  custom: {
    50: '#cc8ce2',
    500: '#b258d5',
    950: '#000000',
  },
}
SCSS
$custom: #b258d5;
$custom-light: #cc8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#b258d5",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 283.2,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.19657,
    "h": 315.4
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#B258D5
secondary
#BADDAC
accent
#E34571
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258D5

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

Preview Lab → · Contrast checker → · Palette generator →

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