#B04FFD#B04FFD

#B04FFD is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.3% C 0.248 H 306.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B04FFD
RGBrgb(176, 79, 253)
HSLhsl(273, 98%, 65%)
HSVhsv(273, 69%, 99%)
CMYKcmyk(30.4%, 68.8%, 0%, 0.8%)
CIE-LABlab(53.94, 68.27, -70.61)
CIE-LCHlch(53.94, 98.21, 314.03°)
OKLaboklab(63.31% 0.1454 -0.2005)
OKLCHoklch(63.31% 0.248 306)
XYZxyz(38.4262, 21.9143, 95.1150)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FFD #9CFD4F
analogous
#594FFD #B04FFD #FD4FF3
triadic
#B04FFD #FDB04F #4FFDB0
tetradic
#B04FFD #FD594F #9CFD4F #4FF3FD
square
#B04FFD #FD594F #9CFD4F #4FF3FD
split-complementary
#B04FFD #F3FD4F #4FFD59
monochromatic
#7502CF #9512FC #B04FFD #CB8CFE #E6C8FE

Accessibility & contrast

On white

3.90
#B04FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B04FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FFD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FFD#FFFFFF#000000##000000
##B04FFD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0981F9
Tritanopia (blue-blind)
#A277A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b04ffd;
/* rgb */ color: rgb(176, 79, 253);
/* oklch */ color: oklch(63.3% 0.248 306.0);
Tailwind
colors: {
  custom: {
    50: '#cd87ff',
    500: '#b04ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b04ffd;
$custom-light: #cd87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ffd",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 253
  },
  "hsl": {
    "h": 273.448,
    "s": 97.753,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63311,
    "c": 0.24765,
    "h": 306
  },
  "luminance": 0.21914
}

Semantic roles & 50–950 ramp

primary
#B04FFD
secondary
#D1F1B6
accent
#E60066
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B04FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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