#B258D9#B258D9

#B258D9 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.3% C 0.201 H 314.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B258D9
RGBrgb(178, 88, 217)
HSLhsl(282, 63%, 60%)
HSVhsv(282, 59%, 85%)
CMYKcmyk(18%, 59.4%, 0%, 14.9%)
CIE-LABlab(53.44, 56.90, -51.19)
CIE-LCHlch(53.44, 76.54, 318.02°)
OKLaboklab(62.3% 0.1402 -0.1435)
OKLCHoklch(62.3% 0.201 314.3)
XYZxyz(34.3721, 21.4552, 67.9628)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258D9 #7FD958
analogous
#7158D9 #B258D9 #D958C0
triadic
#B258D9 #D9B258 #58D9B2
tetradic
#B258D9 #D97158 #7FD958 #58C0D9
square
#B258D9 #D97158 #7FD958 #58C0D9
split-complementary
#B258D9 #C0D958 #58D971
monochromatic
#722295 #982DC7 #B258D9 #C98AE4 #E0BCF0

Accessibility & contrast

On white

3.97
#B258D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B258D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258D9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258D9#FFFFFF#000000##000000
##B258D91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDD
Deuteranopia (green-blind)
#5482D6
Tritanopia (blue-blind)
#AF6F90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b258d9;
/* rgb */ color: rgb(178, 88, 217);
/* oklch */ color: oklch(62.3% 0.201 314.3);
Tailwind
colors: {
  custom: {
    50: '#cc8ce5',
    500: '#b258d9',
    950: '#000000',
  },
}
SCSS
$custom: #b258d9;
$custom-light: #cc8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#b258d9",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 281.86,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62298,
    "c": 0.2006,
    "h": 314.3
  },
  "luminance": 0.21454
}

Semantic roles & 50–950 ramp

primary
#B258D9
secondary
#BDDFAD
accent
#E64273
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B258D9

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

Preview Lab → · Contrast checker → · Palette generator →

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