#B258E6#B258E6

#B258E6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.1% C 0.214 H 310.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B258E6
RGBrgb(178, 88, 230)
HSLhsl(278, 74%, 62%)
HSVhsv(278, 62%, 90%)
CMYKcmyk(22.6%, 61.7%, 0%, 9.8%)
CIE-LABlab(54.19, 59.64, -57.33)
CIE-LCHlch(54.19, 82.72, 316.13°)
OKLaboklab(63.09% 0.1401 -0.1615)
OKLCHoklch(63.09% 0.214 310.9)
XYZxyz(36.1301, 22.1584, 77.2213)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258E6 #8CE658
analogous
#6B58E6 #B258E6 #E658D3
triadic
#B258E6 #E6B258 #58E6B2
tetradic
#B258E6 #E66B58 #8CE658 #58D3E6
square
#B258E6 #E66B58 #8CE658 #58D3E6
split-complementary
#B258E6 #D3E658 #58E66B
monochromatic
#7519AA #9923DE #B258E6 #CB8DEE #E3C2F6

Accessibility & contrast

On white

3.87
#B258E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B258E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258E6#FFFFFF#000000##000000
##B258E61.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DEA
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#AC7397
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b258e6;
/* rgb */ color: rgb(178, 88, 230);
/* oklch */ color: oklch(63.1% 0.214 310.9);
Tailwind
colors: {
  custom: {
    50: '#cd8cef',
    500: '#b258e6',
    950: '#000000',
  },
}
SCSS
$custom: #b258e6;
$custom-light: #cd8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#b258e6",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 278.028,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.21378,
    "h": 310.9
  },
  "luminance": 0.22158
}

Semantic roles & 50–950 ramp

primary
#B258E6
secondary
#C6E7B3
accent
#D60F58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B258E6

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

Preview Lab → · Contrast checker → · Palette generator →

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