#B258E4#B258E4

#B258E4 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.212 H 311.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B258E4
RGBrgb(178, 88, 228)
HSLhsl(279, 72%, 62%)
HSVhsv(279, 61%, 89%)
CMYKcmyk(21.9%, 61.4%, 0%, 10.6%)
CIE-LABlab(54.08, 59.21, -56.40)
CIE-LCHlch(54.08, 81.77, 316.39°)
OKLaboklab(62.96% 0.1402 -0.1587)
OKLCHoklch(62.96% 0.212 311.4)
XYZxyz(35.8508, 22.0467, 75.7506)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258E4 #8AE458
analogous
#6C58E4 #B258E4 #E458D0
triadic
#B258E4 #E4B258 #58E4B2
tetradic
#B258E4 #E46C58 #8AE458 #58D0E4
square
#B258E4 #E46C58 #8AE458 #58D0E4
split-complementary
#B258E4 #D0E458 #58E46C
monochromatic
#751BA7 #9A23DB #B258E4 #CA8DED #E3C1F5

Accessibility & contrast

On white

3.88
#B258E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B258E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258E4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258E4#FFFFFF#000000##000000
##B258E41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7DE8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#AC7396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b258e4;
/* rgb */ color: rgb(178, 88, 228);
/* oklch */ color: oklch(63.0% 0.212 311.4);
Tailwind
colors: {
  custom: {
    50: '#cd8ced',
    500: '#b258e4',
    950: '#000000',
  },
}
SCSS
$custom: #b258e4;
$custom-light: #cd8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#b258e4",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 278.571,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62961,
    "c": 0.21175,
    "h": 311.4
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#B258E4
secondary
#C5E6B2
accent
#D41157
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B258E4

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

Preview Lab → · Contrast checker → · Palette generator →

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