#B259F4#B259F4

#B259F4 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.227 H 307.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B259F4
RGBrgb(178, 89, 244)
HSLhsl(274, 88%, 65%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(27%, 63.5%, 0%, 4.3%)
CIE-LABlab(55.22, 62.20, -63.52)
CIE-LCHlch(55.22, 88.90, 314.40°)
OKLaboklab(64.1% 0.1383 -0.1796)
OKLCHoklch(64.1% 0.227 307.6)
XYZxyz(38.2582, 23.1419, 88.0218)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F4 #9BF459
analogous
#6559F4 #B259F4 #F459E8
triadic
#B259F4 #F4B259 #59F4B2
tetradic
#B259F4 #F46559 #9BF459 #59E8F4
square
#B259F4 #F46559 #9BF459 #59E8F4
split-complementary
#B259F4 #E8F459 #59F465
monochromatic
#770DC6 #9720F0 #B259F4 #CD92F8 #E7CCFC

Accessibility & contrast

On white

3.73
#B259F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B259F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F4#FFFFFF#000000##000000
##B259F41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#3B85F1
Tritanopia (blue-blind)
#A8799F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f4;
/* rgb */ color: rgb(178, 89, 244);
/* oklch */ color: oklch(64.1% 0.227 307.6);
Tailwind
colors: {
  custom: {
    50: '#cd8df9',
    500: '#b259f4',
    950: '#000000',
  },
}
SCSS
$custom: #b259f4;
$custom-light: #cd8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f4",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 274.452,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64097,
    "c": 0.22673,
    "h": 307.6
  },
  "luminance": 0.23141
}

Semantic roles & 50–950 ramp

primary
#B259F4
secondary
#D1EFBA
accent
#E40162
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F4

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

Preview Lab → · Contrast checker → · Palette generator →

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