#B259F3#B259F3

#B259F3 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.226 H 307.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B259F3
RGBrgb(178, 89, 243)
HSLhsl(275, 87%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(26.7%, 63.4%, 0%, 4.7%)
CIE-LABlab(55.16, 61.98, -63.06)
CIE-LCHlch(55.16, 88.42, 314.50°)
OKLaboklab(64.03% 0.1384 -0.1783)
OKLCHoklch(64.03% 0.226 307.8)
XYZxyz(38.1068, 23.0813, 87.2243)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F3 #9AF359
analogous
#6559F3 #B259F3 #F359E7
triadic
#B259F3 #F3B259 #59F3B2
tetradic
#B259F3 #F36559 #9AF359 #59E7F3
square
#B259F3 #F36559 #9AF359 #59E7F3
split-complementary
#B259F3 #E7F359 #59F365
monochromatic
#770EC3 #9820EF #B259F3 #CC92F7 #E7CBFB

Accessibility & contrast

On white

3.74
#B259F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B259F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F3#FFFFFF#000000##000000
##B259F31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#A8799E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f3;
/* rgb */ color: rgb(178, 89, 243);
/* oklch */ color: oklch(64.0% 0.226 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd8df8',
    500: '#b259f3',
    950: '#000000',
  },
}
SCSS
$custom: #b259f3;
$custom-light: #cd8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f3",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 274.675,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64033,
    "c": 0.22571,
    "h": 307.8
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#B259F3
secondary
#D0EEBA
accent
#E30261
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F3

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

Preview Lab → · Contrast checker → · Palette generator →

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