#B258DF#B258DF

#B258DF is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.7% C 0.207 H 312.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B258DF
RGBrgb(178, 88, 223)
HSLhsl(280, 68%, 61%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(20.2%, 60.5%, 0%, 12.5%)
CIE-LABlab(53.79, 58.15, -54.04)
CIE-LCHlch(53.79, 79.39, 317.10°)
OKLaboklab(62.66% 0.1402 -0.1518)
OKLCHoklch(62.66% 0.207 312.7)
XYZxyz(35.1668, 21.7731, 72.1478)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258DF #85DF58
analogous
#6E58DF #B258DF #DF58C8
triadic
#B258DF #DFB258 #58DFB2
tetradic
#B258DF #DF6E58 #85DF58 #58C8DF
square
#B258DF #DF6E58 #85DF58 #58C8DF
split-complementary
#B258DF #C8DF58 #58DF6E
monochromatic
#741E9E #9928D2 #B258DF #CA8BE9 #E1BFF3

Accessibility & contrast

On white

3.92
#B258DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B258DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258DF#FFFFFF#000000##000000
##B258DF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#AD7193
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b258df;
/* rgb */ color: rgb(178, 88, 223);
/* oklch */ color: oklch(62.7% 0.207 312.7);
Tailwind
colors: {
  custom: {
    50: '#cc8cea',
    500: '#b258df',
    950: '#000000',
  },
}
SCSS
$custom: #b258df;
$custom-light: #cc8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#b258df",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 280,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62657,
    "c": 0.20667,
    "h": 312.7
  },
  "luminance": 0.21772
}

Semantic roles & 50–950 ramp

primary
#B258DF
secondary
#C1E3B0
accent
#D01654
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B258DF

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

Preview Lab → · Contrast checker → · Palette generator →

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