#B04BFC#B04BFC

#B04BFC is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.8% C 0.251 H 306.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B04BFC
RGBrgb(176, 75, 252)
HSLhsl(274, 97%, 64%)
HSVhsv(274, 70%, 99%)
CMYKcmyk(30.2%, 70.2%, 0%, 1.2%)
CIE-LABlab(53.27, 69.74, -71.14)
CIE-LCHlch(53.27, 99.62, 314.43°)
OKLaboklab(62.81% 0.1494 -0.202)
OKLCHoklch(62.81% 0.251 306.5)
XYZxyz(37.9875, 21.2909, 94.1849)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BFC #97FC4B
analogous
#584BFC #B04BFC #FC4BF0
triadic
#B04BFC #FCB04B #4BFCB0
tetradic
#B04BFC #FC584B #97FC4B #4BF0FC
square
#B04BFC #FC584B #97FC4B #4BF0FC
split-complementary
#B04BFC #F0FC4B #4BFC58
monochromatic
#7403C9 #960FFB #B04BFC #CA87FD #E5C3FE

Accessibility & contrast

On white

3.99
#B04BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B04BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BFC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BFC#FFFFFF#000000##000000
##B04BFC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#A3749F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b04bfc;
/* rgb */ color: rgb(176, 75, 252);
/* oklch */ color: oklch(62.8% 0.251 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd85fe',
    500: '#b04bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b04bfc;
$custom-light: #cd85fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bfc",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 274.237,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.25127,
    "h": 306.5
  },
  "luminance": 0.21291
}

Semantic roles & 50–950 ramp

primary
#B04BFC
secondary
#CDF0B3
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B04BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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