#B259F6#B259F6

#B259F6 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.2% C 0.229 H 307.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B259F6
RGBrgb(178, 89, 246)
HSLhsl(274, 90%, 66%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(27.6%, 63.8%, 0%, 3.5%)
CIE-LABlab(55.34, 62.64, -64.43)
CIE-LCHlch(55.34, 89.86, 314.19°)
OKLaboklab(64.23% 0.1382 -0.1823)
OKLCHoklch(64.23% 0.229 307.2)
XYZxyz(38.5635, 23.2640, 89.6298)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F6 #9DF659
analogous
#6359F6 #B259F6 #F659EB
triadic
#B259F6 #F6B259 #59F6B2
tetradic
#B259F6 #F66359 #9DF659 #59EBF6
square
#B259F6 #F66359 #9DF659 #59EBF6
split-complementary
#B259F6 #EBF659 #59F663
monochromatic
#770BCA #971FF3 #B259F6 #CD93F9 #E8CDFC

Accessibility & contrast

On white

3.71
#B259F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B259F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F6#FFFFFF#000000##000000
##B259F61.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#A77AA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f6;
/* rgb */ color: rgb(178, 89, 246);
/* oklch */ color: oklch(64.2% 0.229 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd8dfa',
    500: '#b259f6',
    950: '#000000',
  },
}
SCSS
$custom: #b259f6;
$custom-light: #cd8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f6",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 274.013,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64227,
    "c": 0.22879,
    "h": 307.2
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#B259F6
secondary
#D2F0BB
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F6

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

Preview Lab → · Contrast checker → · Palette generator →

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