#B258EB#B258EB

#B258EB is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.219 H 309.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B258EB
RGBrgb(178, 88, 235)
HSLhsl(277, 79%, 63%)
HSVhsv(277, 63%, 92%)
CMYKcmyk(24.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(54.49, 60.71, -59.66)
CIE-LCHlch(54.49, 85.11, 315.50°)
OKLaboklab(63.4% 0.1399 -0.1683)
OKLCHoklch(63.4% 0.219 309.7)
XYZxyz(36.8423, 22.4433, 80.9723)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258EB #91EB58
analogous
#6858EB #B258EB #EB58DA
triadic
#B258EB #EBB258 #58EBB2
tetradic
#B258EB #EB6858 #91EB58 #58DAEB
square
#B258EB #EB6858 #91EB58 #58DAEB
split-complementary
#B258EB #DAEB58 #58EB68
monochromatic
#7615B3 #9921E4 #B258EB #CB8FF2 #E4C5F8

Accessibility & contrast

On white

3.83
#B258EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B258EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258EB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258EB#FFFFFF#000000##000000
##B258EB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EF0
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#AA759A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b258eb;
/* rgb */ color: rgb(178, 88, 235);
/* oklch */ color: oklch(63.4% 0.219 309.7);
Tailwind
colors: {
  custom: {
    50: '#cd8cf2',
    500: '#b258eb',
    950: '#000000',
  },
}
SCSS
$custom: #b258eb;
$custom-light: #cd8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b258eb",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 276.735,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.21887,
    "h": 309.7
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#B258EB
secondary
#CAEAB5
accent
#DB0B5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258EB

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

Preview Lab → · Contrast checker → · Palette generator →

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