#B259F1#B259F1

#B259F1 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.9% C 0.224 H 308.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B259F1
RGBrgb(178, 89, 241)
HSLhsl(275, 84%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(26.1%, 63.1%, 0%, 5.5%)
CIE-LABlab(55.03, 61.54, -62.15)
CIE-LCHlch(55.03, 87.46, 314.72°)
OKLaboklab(63.9% 0.1385 -0.1756)
OKLCHoklch(63.9% 0.224 308.3)
XYZxyz(37.8064, 22.9612, 85.6423)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F1 #98F159
analogous
#6659F1 #B259F1 #F159E4
triadic
#B259F1 #F1B259 #59F1B2
tetradic
#B259F1 #F16659 #98F159 #59E4F1
square
#B259F1 #F16659 #98F159 #59E4F1
split-complementary
#B259F1 #E4F159 #59F166
monochromatic
#7710BF #9821EC #B259F1 #CC91F6 #E6CAFB

Accessibility & contrast

On white

3.76
#B259F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B259F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F1#FFFFFF#000000##000000
##B259F11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3F85EE
Tritanopia (blue-blind)
#A8789D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f1;
/* rgb */ color: rgb(178, 89, 241);
/* oklch */ color: oklch(63.9% 0.224 308.3);
Tailwind
colors: {
  custom: {
    50: '#cd8df6',
    500: '#b259f1',
    950: '#000000',
  },
}
SCSS
$custom: #b259f1;
$custom-light: #cd8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f1",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 241
  },
  "hsl": {
    "h": 275.132,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.22367,
    "h": 308.3
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

primary
#B259F1
secondary
#CEEDB9
accent
#E10560
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F1

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

Preview Lab → · Contrast checker → · Palette generator →

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