#B258EF#B258EF

#B258EF is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.223 H 308.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B258EF
RGBrgb(178, 88, 239)
HSLhsl(276, 83%, 64%)
HSVhsv(276, 63%, 94%)
CMYKcmyk(25.5%, 63.2%, 0%, 6.3%)
CIE-LABlab(54.74, 61.58, -61.50)
CIE-LCHlch(54.74, 87.03, 315.03°)
OKLaboklab(63.65% 0.1398 -0.1737)
OKLCHoklch(63.65% 0.223 308.8)
XYZxyz(37.4267, 22.6770, 84.0501)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258EF #95EF58
analogous
#6758EF #B258EF #EF58E0
triadic
#B258EF #EFB258 #58EFB2
tetradic
#B258EF #EF6758 #95EF58 #58E0EF
square
#B258EF #EF6758 #95EF58 #58E0EF
split-complementary
#B258EF #E0EF58 #58EF67
monochromatic
#7712BB #9820EA #B258EF #CC90F4 #E6C8FA

Accessibility & contrast

On white

3.79
#B258EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B258EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258EF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258EF#FFFFFF#000000##000000
##B258EF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#A9779C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b258ef;
/* rgb */ color: rgb(178, 88, 239);
/* oklch */ color: oklch(63.7% 0.223 308.8);
Tailwind
colors: {
  custom: {
    50: '#cd8cf5',
    500: '#b258ef',
    950: '#000000',
  },
}
SCSS
$custom: #b258ef;
$custom-light: #cd8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ef",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 275.762,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63652,
    "c": 0.22295,
    "h": 308.8
  },
  "luminance": 0.22676
}

Semantic roles & 50–950 ramp

primary
#B258EF
secondary
#CCECB7
accent
#DF075E
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258EF

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

Preview Lab → · Contrast checker → · Palette generator →

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