#B258D7#B258D7

#B258D7 is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.2% C 0.199 H 314.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B258D7
RGBrgb(178, 88, 215)
HSLhsl(283, 61%, 59%)
HSVhsv(283, 59%, 84%)
CMYKcmyk(17.2%, 59.1%, 0%, 15.7%)
CIE-LABlab(53.33, 56.48, -50.24)
CIE-LCHlch(53.33, 75.59, 318.35°)
OKLaboklab(62.18% 0.1401 -0.1407)
OKLCHoklch(62.18% 0.199 314.9)
XYZxyz(34.1136, 21.3518, 66.6011)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258D7 #7DD758
analogous
#7358D7 #B258D7 #D758BC
triadic
#B258D7 #D7B258 #58D7B2
tetradic
#B258D7 #D77358 #7DD758 #58BCD7
square
#B258D7 #D77358 #7DD758 #58BCD7
split-complementary
#B258D7 #BCD758 #58D773
monochromatic
#712392 #982FC3 #B258D7 #C989E3 #E0BBEF

Accessibility & contrast

On white

3.98
#B258D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B258D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258D7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258D7#FFFFFF#000000##000000
##B258D71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADB
Deuteranopia (green-blind)
#5682D4
Tritanopia (blue-blind)
#AF6E8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b258d7;
/* rgb */ color: rgb(178, 88, 215);
/* oklch */ color: oklch(62.2% 0.199 314.9);
Tailwind
colors: {
  custom: {
    50: '#cc8ce4',
    500: '#b258d7',
    950: '#000000',
  },
}
SCSS
$custom: #b258d7;
$custom-light: #cc8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#b258d7",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 282.52,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62181,
    "c": 0.19858,
    "h": 314.9
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#B258D7
secondary
#BBDEAD
accent
#E44372
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B258D7

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

Preview Lab → · Contrast checker → · Palette generator →

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