#B259EF#B259EF

#B259EF is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.222 H 308.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B259EF
RGBrgb(178, 89, 239)
HSLhsl(276, 82%, 64%)
HSVhsv(276, 63%, 94%)
CMYKcmyk(25.5%, 62.8%, 0%, 6.3%)
CIE-LABlab(54.91, 61.11, -61.23)
CIE-LCHlch(54.91, 86.50, 314.94°)
OKLaboklab(63.78% 0.1386 -0.1729)
OKLCHoklch(63.78% 0.222 308.7)
XYZxyz(37.5093, 22.8423, 84.0776)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259EF #96EF59
analogous
#6759EF #B259EF #EF59E1
triadic
#B259EF #EFB259 #59EFB2
tetradic
#B259EF #EF6759 #96EF59 #59E1EF
square
#B259EF #EF6759 #96EF59 #59E1EF
split-complementary
#B259EF #E1EF59 #59EF67
monochromatic
#7712BC #9821EA #B259EF #CC91F4 #E6C9FA

Accessibility & contrast

On white

3.77
#B259EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B259EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259EF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259EF#FFFFFF#000000##000000
##B259EF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#A9779C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b259ef;
/* rgb */ color: rgb(178, 89, 239);
/* oklch */ color: oklch(63.8% 0.222 308.7);
Tailwind
colors: {
  custom: {
    50: '#cd8df5',
    500: '#b259ef',
    950: '#000000',
  },
}
SCSS
$custom: #b259ef;
$custom-light: #cd8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#b259ef",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 275.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63776,
    "c": 0.22162,
    "h": 308.7
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#B259EF
secondary
#CDECB8
accent
#DF075F
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B259EF

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

Preview Lab → · Contrast checker → · Palette generator →

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