#B258ED#B258ED

#B258ED is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.221 H 309.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B258ED
RGBrgb(178, 88, 237)
HSLhsl(276, 81%, 64%)
HSVhsv(276, 63%, 93%)
CMYKcmyk(24.9%, 62.9%, 0%, 7.1%)
CIE-LABlab(54.62, 61.14, -60.58)
CIE-LCHlch(54.62, 86.07, 315.26°)
OKLaboklab(63.52% 0.1399 -0.171)
OKLCHoklch(63.52% 0.221 309.3)
XYZxyz(37.1329, 22.5595, 82.5026)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258ED #93ED58
analogous
#6758ED #B258ED #ED58DD
triadic
#B258ED #EDB258 #58EDB2
tetradic
#B258ED #ED6758 #93ED58 #58DDED
square
#B258ED #ED6758 #93ED58 #58DDED
split-complementary
#B258ED #DDED58 #58ED67
monochromatic
#7614B7 #9921E7 #B258ED #CB8FF3 #E5C6F9

Accessibility & contrast

On white

3.81
#B258ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B258ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258ED
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258ED#FFFFFF#000000##000000
##B258ED1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#AA769B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b258ed;
/* rgb */ color: rgb(178, 88, 237);
/* oklch */ color: oklch(63.5% 0.221 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd8cf4',
    500: '#b258ed',
    950: '#000000',
  },
}
SCSS
$custom: #b258ed;
$custom-light: #cd8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ed",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 276.242,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63524,
    "c": 0.22091,
    "h": 309.3
  },
  "luminance": 0.22559
}

Semantic roles & 50–950 ramp

primary
#B258ED
secondary
#CBEBB6
accent
#DD095D
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258ED

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

Preview Lab → · Contrast checker → · Palette generator →

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