#B259EB#B259EB

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

Color values

HEX#B259EB
RGBrgb(178, 89, 235)
HSLhsl(277, 78%, 64%)
HSVhsv(277, 62%, 92%)
CMYKcmyk(24.3%, 62.1%, 0%, 7.8%)
CIE-LABlab(54.67, 60.24, -59.38)
CIE-LCHlch(54.67, 84.58, 315.41°)
OKLaboklab(63.52% 0.1388 -0.1675)
OKLCHoklch(63.52% 0.218 309.6)
XYZxyz(36.9250, 22.6086, 80.9999)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259EB #92EB59
analogous
#6959EB #B259EB #EB59DB
triadic
#B259EB #EBB259 #59EBB2
tetradic
#B259EB #EB6959 #92EB59 #59DBEB
square
#B259EB #EB6959 #92EB59 #59DBEB
split-complementary
#B259EB #DBEB59 #59EB69
monochromatic
#7616B4 #9922E4 #B259EB #CB90F2 #E5C6F8

Accessibility & contrast

On white

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

On black

5.52
#B259EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259EB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259EB#FFFFFF#000000##000000
##B259EB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#097FF0
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#AA769A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b259eb;
/* rgb */ color: rgb(178, 89, 235);
/* oklch */ color: oklch(63.5% 0.218 309.6);
Tailwind
colors: {
  custom: {
    50: '#cd8df2',
    500: '#b259eb',
    950: '#000000',
  },
}
SCSS
$custom: #b259eb;
$custom-light: #cd8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#b259eb",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 276.575,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.21751,
    "h": 309.6
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#B259EB
secondary
#CAEAB6
accent
#DB0B5C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B259EB

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

Preview Lab → · Contrast checker → · Palette generator →

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