#B259F5#B259F5

#B259F5 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.228 H 307.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B259F5
RGBrgb(178, 89, 245)
HSLhsl(274, 89%, 65%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(27.3%, 63.7%, 0%, 3.9%)
CIE-LABlab(55.28, 62.42, -63.98)
CIE-LCHlch(55.28, 89.38, 314.29°)
OKLaboklab(64.16% 0.1383 -0.181)
OKLCHoklch(64.16% 0.228 307.4)
XYZxyz(38.4105, 23.2028, 88.8236)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259F5 #9CF559
analogous
#6459F5 #B259F5 #F559EA
triadic
#B259F5 #F5B259 #59F5B2
tetradic
#B259F5 #F56459 #9CF559 #59EAF5
square
#B259F5 #F56459 #9CF559 #59EAF5
split-complementary
#B259F5 #EAF559 #59F564
monochromatic
#770CC8 #971FF2 #B259F5 #CD93F8 #E8CCFC

Accessibility & contrast

On white

3.72
#B259F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B259F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259F5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259F5#FFFFFF#000000##000000
##B259F51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#3985F1
Tritanopia (blue-blind)
#A7799F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b259f5;
/* rgb */ color: rgb(178, 89, 245);
/* oklch */ color: oklch(64.2% 0.228 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd8df9',
    500: '#b259f5',
    950: '#000000',
  },
}
SCSS
$custom: #b259f5;
$custom-light: #cd8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b259f5",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 274.231,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.22776,
    "h": 307.4
  },
  "luminance": 0.23202
}

Semantic roles & 50–950 ramp

primary
#B259F5
secondary
#D1EFBB
accent
#E50063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B259F5

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

Preview Lab → · Contrast checker → · Palette generator →

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