#B258E8#B258E8

#B258E8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.2% C 0.216 H 310.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B258E8
RGBrgb(178, 88, 232)
HSLhsl(278, 76%, 63%)
HSVhsv(278, 62%, 91%)
CMYKcmyk(23.3%, 62.1%, 0%, 9%)
CIE-LABlab(54.31, 60.06, -58.26)
CIE-LCHlch(54.31, 83.68, 315.87°)
OKLaboklab(63.21% 0.1401 -0.1642)
OKLCHoklch(63.21% 0.216 310.5)
XYZxyz(36.4125, 22.2714, 78.7089)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258E8 #8EE858
analogous
#6A58E8 #B258E8 #E858D6
triadic
#B258E8 #E8B258 #58E8B2
tetradic
#B258E8 #E86A58 #8EE858 #58D6E8
square
#B258E8 #E86A58 #8EE858 #58D6E8
split-complementary
#B258E8 #D6E858 #58E86A
monochromatic
#7618AE #9922E1 #B258E8 #CB8EEF #E4C4F7

Accessibility & contrast

On white

3.85
#B258E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B258E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258E8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258E8#FFFFFF#000000##000000
##B258E81.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EEC
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#AB7498
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b258e8;
/* rgb */ color: rgb(178, 88, 232);
/* oklch */ color: oklch(63.2% 0.216 310.5);
Tailwind
colors: {
  custom: {
    50: '#cd8cf0',
    500: '#b258e8',
    950: '#000000',
  },
}
SCSS
$custom: #b258e8;
$custom-light: #cd8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b258e8",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 277.5,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63209,
    "c": 0.21582,
    "h": 310.5
  },
  "luminance": 0.22271
}

Semantic roles & 50–950 ramp

primary
#B258E8
secondary
#C7E8B4
accent
#D80E59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258E8

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

Preview Lab → · Contrast checker → · Palette generator →

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