#B259E7#B259E7

#B259E7 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.213 H 310.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B259E7
RGBrgb(178, 89, 231)
HSLhsl(278, 75%, 63%)
HSVhsv(278, 61%, 91%)
CMYKcmyk(22.9%, 61.5%, 0%, 9.4%)
CIE-LABlab(54.43, 59.38, -57.52)
CIE-LCHlch(54.43, 82.67, 315.91°)
OKLaboklab(63.27% 0.1389 -0.162)
OKLCHoklch(63.27% 0.213 310.6)
XYZxyz(36.3536, 22.3800, 77.9905)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259E7 #8EE759
analogous
#6B59E7 #B259E7 #E759D5
triadic
#B259E7 #E7B259 #59E7B2
tetradic
#B259E7 #E76B59 #8EE759 #59D5E7
square
#B259E7 #E76B59 #8EE759 #59D5E7
split-complementary
#B259E7 #D5E759 #59E76B
monochromatic
#7619AD #9924DF #B259E7 #CB8EEF #E4C4F6

Accessibility & contrast

On white

3.84
#B259E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B259E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259E7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259E7#FFFFFF#000000##000000
##B259E71.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#187EEB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#AB7498
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b259e7;
/* rgb */ color: rgb(178, 89, 231);
/* oklch */ color: oklch(63.3% 0.213 310.6);
Tailwind
colors: {
  custom: {
    50: '#cd8def',
    500: '#b259e7',
    950: '#000000',
  },
}
SCSS
$custom: #b259e7;
$custom-light: #cd8def;
$custom-dark: #000000;
JSON
{
  "hex": "#b259e7",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 277.606,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63273,
    "c": 0.21342,
    "h": 310.6
  },
  "luminance": 0.22379
}

Semantic roles & 50–950 ramp

primary
#B259E7
secondary
#C7E8B4
accent
#D70F59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B259E7

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

Preview Lab → · Contrast checker → · Palette generator →

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