#B258D2#B258D2

#B258D2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.9% C 0.194 H 316.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B258D2
RGBrgb(178, 88, 210)
HSLhsl(284, 58%, 58%)
HSVhsv(284, 58%, 82%)
CMYKcmyk(15.2%, 58.1%, 0%, 17.6%)
CIE-LABlab(53.06, 55.46, -47.83)
CIE-LCHlch(53.06, 73.24, 319.22°)
OKLaboklab(61.89% 0.14 -0.1337)
OKLCHoklch(61.89% 0.194 316.3)
XYZxyz(33.4809, 21.0987, 63.2691)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258D2 #78D258
analogous
#7558D2 #B258D2 #D258B5
triadic
#B258D2 #D2B258 #58D2B2
tetradic
#B258D2 #D27558 #78D258 #58B5D2
square
#B258D2 #D27558 #78D258 #58B5D2
split-complementary
#B258D2 #B5D258 #58D275
monochromatic
#70258A #9732BB #B258D2 #C888DF #DEB8EC

Accessibility & contrast

On white

4.02
#B258D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B258D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258D2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258D2#FFFFFF#000000##000000
##B258D21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#B06C8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b258d2;
/* rgb */ color: rgb(178, 88, 210);
/* oklch */ color: oklch(61.9% 0.194 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc8be0',
    500: '#b258d2',
    950: '#000000',
  },
}
SCSS
$custom: #b258d2;
$custom-light: #cc8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b258d2",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 284.262,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.19357,
    "h": 316.3
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

primary
#B258D2
secondary
#B7DBAB
accent
#E1476F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258D2

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

Preview Lab → · Contrast checker → · Palette generator →

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