#B259E1#B259E1

#B259E1 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.207 H 312.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B259E1
RGBrgb(178, 89, 225)
HSLhsl(279, 69%, 62%)
HSVhsv(279, 60%, 88%)
CMYKcmyk(20.9%, 60.4%, 0%, 11.8%)
CIE-LABlab(54.08, 58.10, -54.70)
CIE-LCHlch(54.08, 79.80, 316.72°)
OKLaboklab(62.91% 0.139 -0.1538)
OKLCHoklch(62.91% 0.207 312.1)
XYZxyz(35.5206, 22.0469, 73.6039)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259E1 #88E159
analogous
#6E59E1 #B259E1 #E159CC
triadic
#B259E1 #E1B259 #59E1B2
tetradic
#B259E1 #E16E59 #88E159 #59CCE1
square
#B259E1 #E16E59 #88E159 #59CCE1
split-complementary
#B259E1 #CCE159 #59E16E
monochromatic
#741DA2 #9927D6 #B259E1 #CA8DEA #E2C1F4

Accessibility & contrast

On white

3.88
#B259E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B259E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259E1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259E1#FFFFFF#000000##000000
##B259E11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE5
Deuteranopia (green-blind)
#4F83DE
Tritanopia (blue-blind)
#AD7295
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b259e1;
/* rgb */ color: rgb(178, 89, 225);
/* oklch */ color: oklch(62.9% 0.207 312.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ceb',
    500: '#b259e1',
    950: '#000000',
  },
}
SCSS
$custom: #b259e1;
$custom-light: #cc8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b259e1",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 279.265,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62905,
    "c": 0.20728,
    "h": 312.1
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#B259E1
secondary
#C3E4B2
accent
#D11456
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B259E1

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

Preview Lab → · Contrast checker → · Palette generator →

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