#B259EA#B259EA

#B259EA is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.216 H 309.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B259EA
RGBrgb(178, 89, 234)
HSLhsl(277, 78%, 63%)
HSVhsv(277, 62%, 92%)
CMYKcmyk(23.9%, 62%, 0%, 8.2%)
CIE-LABlab(54.61, 60.02, -58.92)
CIE-LCHlch(54.61, 84.10, 315.53°)
OKLaboklab(63.46% 0.1388 -0.1661)
OKLCHoklch(63.46% 0.216 309.9)
XYZxyz(36.7809, 22.5510, 80.2411)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259EA #91EA59
analogous
#6959EA #B259EA #EA59D9
triadic
#B259EA #EAB259 #59EAB2
tetradic
#B259EA #EA6959 #91EA59 #59D9EA
square
#B259EA #EA6959 #91EA59 #59D9EA
split-complementary
#B259EA #D9EA59 #59EA69
monochromatic
#7617B2 #9923E3 #B259EA #CB8FF1 #E4C6F8

Accessibility & contrast

On white

3.81
#B259EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B259EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259EA#FFFFFF#000000##000000
##B259EA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEE
Deuteranopia (green-blind)
#4684E7
Tritanopia (blue-blind)
#AA769A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b259ea;
/* rgb */ color: rgb(178, 89, 234);
/* oklch */ color: oklch(63.5% 0.216 309.9);
Tailwind
colors: {
  custom: {
    50: '#cd8df1',
    500: '#b259ea',
    950: '#000000',
  },
}
SCSS
$custom: #b259ea;
$custom-light: #cd8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b259ea",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 276.828,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6346,
    "c": 0.21649,
    "h": 309.9
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#B259EA
secondary
#CAE9B6
accent
#DA0C5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B259EA

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

Preview Lab → · Contrast checker → · Palette generator →

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