#B259F2#B259F2

#B259F2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.225 H 308.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B259F2
RGBrgb(178, 89, 242)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(26.4%, 63.2%, 0%, 5.1%)
CIE-LABlab(55.09, 61.76, -62.61)
CIE-LCHlch(55.09, 87.94, 314.61°)
OKLaboklab(63.97% 0.1385 -0.1769)
OKLCHoklch(63.97% 0.225 308)
XYZxyz(37.9562, 23.0211, 86.4312)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F2 #99F259
analogous
#6659F2 #B259F2 #F259E6
triadic
#B259F2 #F2B259 #59F2B2
tetradic
#B259F2 #F26659 #99F259 #59E6F2
square
#B259F2 #F26659 #99F259 #59E6F2
split-complementary
#B259F2 #E6F259 #59F266
monochromatic
#770FC1 #9820EE #B259F2 #CC92F6 #E7CBFB

Accessibility & contrast

On white

3.75
#B259F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B259F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F2#FFFFFF#000000##000000
##B259F21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#A8789E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f2;
/* rgb */ color: rgb(178, 89, 242);
/* oklch */ color: oklch(64.0% 0.225 308.0);
Tailwind
colors: {
  custom: {
    50: '#cd8df7',
    500: '#b259f2',
    950: '#000000',
  },
}
SCSS
$custom: #b259f2;
$custom-light: #cd8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f2",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 274.902,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.22468,
    "h": 308
  },
  "luminance": 0.23021
}

Semantic roles & 50–950 ramp

primary
#B259F2
secondary
#CFEDB9
accent
#E20461
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F2

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

Preview Lab → · Contrast checker → · Palette generator →

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