#B258EE#B258EE

#B258EE is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.6% C 0.222 H 309.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B258EE
RGBrgb(178, 88, 238)
HSLhsl(276, 82%, 64%)
HSVhsv(276, 63%, 93%)
CMYKcmyk(25.2%, 63%, 0%, 6.7%)
CIE-LABlab(54.68, 61.36, -61.04)
CIE-LCHlch(54.68, 86.55, 315.15°)
OKLaboklab(63.59% 0.1398 -0.1724)
OKLCHoklch(63.59% 0.222 309)
XYZxyz(37.2794, 22.6181, 83.2742)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258EE #94EE58
analogous
#6758EE #B258EE #EE58DF
triadic
#B258EE #EEB258 #58EEB2
tetradic
#B258EE #EE6758 #94EE58 #58DFEE
square
#B258EE #EE6758 #94EE58 #58DFEE
split-complementary
#B258EE #DFEE58 #58EE67
monochromatic
#7613B9 #9820E8 #B258EE #CC90F4 #E5C7F9

Accessibility & contrast

On white

3.80
#B258EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B258EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258EE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258EE#FFFFFF#000000##000000
##B258EE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#A9769B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b258ee;
/* rgb */ color: rgb(178, 88, 238);
/* oklch */ color: oklch(63.6% 0.222 309.0);
Tailwind
colors: {
  custom: {
    50: '#cd8cf4',
    500: '#b258ee',
    950: '#000000',
  },
}
SCSS
$custom: #b258ee;
$custom-light: #cd8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ee",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 276,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.22193,
    "h": 309
  },
  "luminance": 0.22617
}

Semantic roles & 50–950 ramp

primary
#B258EE
secondary
#CCEBB7
accent
#DE085D
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258EE

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

Preview Lab → · Contrast checker → · Palette generator →

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