#B259E8#B259E8

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

Color values

HEX#B259E8
RGBrgb(178, 89, 232)
HSLhsl(277, 76%, 63%)
HSVhsv(277, 62%, 91%)
CMYKcmyk(23.3%, 61.6%, 0%, 9%)
CIE-LABlab(54.49, 59.59, -57.99)
CIE-LCHlch(54.49, 83.15, 315.78°)
OKLaboklab(63.33% 0.1389 -0.1634)
OKLCHoklch(63.33% 0.214 310.4)
XYZxyz(36.4952, 22.4367, 78.7365)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259E8 #8FE859
analogous
#6B59E8 #B259E8 #E859D6
triadic
#B259E8 #E8B259 #59E8B2
tetradic
#B259E8 #E86B59 #8FE859 #59D6E8
square
#B259E8 #E86B59 #8FE859 #59D6E8
split-complementary
#B259E8 #D6E859 #59E86B
monochromatic
#7618AE #9923E1 #B259E8 #CB8FEF #E4C5F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B259E8#FFFFFF#000000##000000
##B259E81.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)
#157EEC
Deuteranopia (green-blind)
#4884E5
Tritanopia (blue-blind)
#AB7599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b259e8;
/* rgb */ color: rgb(178, 89, 232);
/* oklch */ color: oklch(63.3% 0.214 310.4);
Tailwind
colors: {
  custom: {
    50: '#cd8df0',
    500: '#b259e8',
    950: '#000000',
  },
}
SCSS
$custom: #b259e8;
$custom-light: #cd8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#b259e8",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 277.343,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.21445,
    "h": 310.4
  },
  "luminance": 0.22436
}

Semantic roles & 50–950 ramp

primary
#B259E8
secondary
#C8E8B5
accent
#D80E5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B259E8

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

Preview Lab → · Contrast checker → · Palette generator →

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