#B259EC#B259EC

#B259EC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.6% C 0.219 H 309.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B259EC
RGBrgb(178, 89, 236)
HSLhsl(276, 79%, 64%)
HSVhsv(276, 62%, 93%)
CMYKcmyk(24.6%, 62.3%, 0%, 7.5%)
CIE-LABlab(54.73, 60.45, -59.84)
CIE-LCHlch(54.73, 85.06, 315.29°)
OKLaboklab(63.59% 0.1388 -0.1688)
OKLCHoklch(63.59% 0.219 309.4)
XYZxyz(37.0698, 22.6665, 81.7629)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259EC #93EC59
analogous
#6859EC #B259EC #EC59DC
triadic
#B259EC #ECB259 #59ECB2
tetradic
#B259EC #EC6859 #93EC59 #59DCEC
square
#B259EC #EC6859 #93EC59 #59DCEC
split-complementary
#B259EC #DCEC59 #59EC68
monochromatic
#7615B6 #9922E6 #B259EC #CB90F2 #E5C7F9

Accessibility & contrast

On white

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

On black

5.53
#B259EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259EC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259EC#FFFFFF#000000##000000
##B259EC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#047FF1
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#AA769B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b259ec;
/* rgb */ color: rgb(178, 89, 236);
/* oklch */ color: oklch(63.6% 0.219 309.4);
Tailwind
colors: {
  custom: {
    50: '#cd8df3',
    500: '#b259ec',
    950: '#000000',
  },
}
SCSS
$custom: #b259ec;
$custom-light: #cd8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b259ec",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 276.327,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63586,
    "c": 0.21854,
    "h": 309.4
  },
  "luminance": 0.22666
}

Semantic roles & 50–950 ramp

primary
#B259EC
secondary
#CBEAB6
accent
#DC0A5D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B259EC

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

Preview Lab → · Contrast checker → · Palette generator →

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