#B258EA#B258EA

#B258EA is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.218 H 310.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B258EA
RGBrgb(178, 88, 234)
HSLhsl(277, 78%, 63%)
HSVhsv(277, 62%, 92%)
CMYKcmyk(23.9%, 62.4%, 0%, 8.2%)
CIE-LABlab(54.43, 60.49, -59.19)
CIE-LCHlch(54.43, 84.64, 315.62°)
OKLaboklab(63.33% 0.14 -0.1669)
OKLCHoklch(63.33% 0.218 310)
XYZxyz(36.6982, 22.3857, 80.2136)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258EA #90EA58
analogous
#6958EA #B258EA #EA58D9
triadic
#B258EA #EAB258 #58EAB2
tetradic
#B258EA #EA6958 #90EA58 #58D9EA
square
#B258EA #EA6958 #90EA58 #58D9EA
split-complementary
#B258EA #D9EA58 #58EA69
monochromatic
#7616B1 #9922E3 #B258EA #CB8EF1 #E4C5F8

Accessibility & contrast

On white

3.83
#B258EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B258EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258EA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258EA#FFFFFF#000000##000000
##B258EA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEF
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#AA7599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b258ea;
/* rgb */ color: rgb(178, 88, 234);
/* oklch */ color: oklch(63.3% 0.218 310.0);
Tailwind
colors: {
  custom: {
    50: '#cd8cf1',
    500: '#b258ea',
    950: '#000000',
  },
}
SCSS
$custom: #b258ea;
$custom-light: #cd8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ea",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 276.986,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.21785,
    "h": 310
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#B258EA
secondary
#C9E9B5
accent
#DA0C5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258EA

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

Preview Lab → · Contrast checker → · Palette generator →

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