#B04FF8#B04FF8

#B04FF8 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 63.0% C 0.243 H 307.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B04FF8
RGBrgb(176, 79, 248)
HSLhsl(274, 92%, 64%)
HSVhsv(274, 68%, 97%)
CMYKcmyk(29%, 68.1%, 0%, 2.7%)
CIE-LABlab(53.60, 67.18, -68.37)
CIE-LCHlch(53.60, 95.85, 314.49°)
OKLaboklab(62.97% 0.1461 -0.1939)
OKLCHoklch(62.97% 0.243 307)
XYZxyz(37.6402, 21.5998, 90.9750)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FF8 #97F84F
analogous
#5C4FF8 #B04FF8 #F84FEC
triadic
#B04FF8 #F8B04F #4FF8B0
tetradic
#B04FF8 #F85C4F #97F84F #4FECF8
square
#B04FF8 #F85C4F #97F84F #4FECF8
split-complementary
#B04FF8 #ECF84F #4FF85C
monochromatic
#7408C5 #9614F6 #B04FF8 #CA8AFA #E5C5FD

Accessibility & contrast

On white

3.95
#B04FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B04FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FF8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FF8#FFFFFF#000000##000000
##B04FF81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#1E81F4
Tritanopia (blue-blind)
#A4759E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b04ff8;
/* rgb */ color: rgb(176, 79, 248);
/* oklch */ color: oklch(63.0% 0.243 307.0);
Tailwind
colors: {
  custom: {
    50: '#cd87fb',
    500: '#b04ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b04ff8;
$custom-light: #cd87fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ff8",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 274.438,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.24275,
    "h": 307
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#B04FF8
secondary
#CDEFB4
accent
#E60062
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B04FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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