#B259F0#B259F0

#B259F0 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.8% C 0.223 H 308.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B259F0
RGBrgb(178, 89, 240)
HSLhsl(275, 83%, 65%)
HSVhsv(275, 63%, 94%)
CMYKcmyk(25.8%, 62.9%, 0%, 5.9%)
CIE-LABlab(54.97, 61.32, -61.69)
CIE-LCHlch(54.97, 86.98, 314.83°)
OKLaboklab(63.84% 0.1386 -0.1743)
OKLCHoklch(63.84% 0.223 308.5)
XYZxyz(37.6575, 22.9016, 84.8578)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F0 #97F059
analogous
#6759F0 #B259F0 #F059E3
triadic
#B259F0 #F0B259 #59F0B2
tetradic
#B259F0 #F06759 #97F059 #59E3F0
square
#B259F0 #F06759 #97F059 #59E3F0
split-complementary
#B259F0 #E3F059 #59F067
monochromatic
#7711BD #9821EB #B259F0 #CC91F5 #E6C9FA

Accessibility & contrast

On white

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

On black

5.58
#B259F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F0#FFFFFF#000000##000000
##B259F01.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#A9789D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f0;
/* rgb */ color: rgb(178, 89, 240);
/* oklch */ color: oklch(63.8% 0.223 308.5);
Tailwind
colors: {
  custom: {
    50: '#cd8df6',
    500: '#b259f0',
    950: '#000000',
  },
}
SCSS
$custom: #b259f0;
$custom-light: #cd8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f0",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 275.364,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6384,
    "c": 0.22264,
    "h": 308.5
  },
  "luminance": 0.22901
}

Semantic roles & 50–950 ramp

primary
#B259F0
secondary
#CEECB8
accent
#E0065F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F0

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

Preview Lab → · Contrast checker → · Palette generator →

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