#B04BFA#B04BFA

#B04BFA is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.7% C 0.249 H 306.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B04BFA
RGBrgb(176, 75, 250)
HSLhsl(275, 95%, 64%)
HSVhsv(275, 70%, 98%)
CMYKcmyk(29.6%, 70%, 0%, 2%)
CIE-LABlab(53.13, 69.31, -70.25)
CIE-LCHlch(53.13, 98.68, 314.61°)
OKLaboklab(62.67% 0.1497 -0.1994)
OKLCHoklch(62.67% 0.249 306.9)
XYZxyz(37.6722, 21.1648, 92.5246)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BFA #95FA4B
analogous
#584BFA #B04BFA #FA4BEC
triadic
#B04BFA #FAB04B #4BFAB0
tetradic
#B04BFA #FA584B #95FA4B #4BECFA
square
#B04BFA #FA584B #95FA4B #4BECFA
split-complementary
#B04BFA #ECFA4B #4BFA58
monochromatic
#7405C5 #960FF8 #B04BFA #CA87FC #E4C2FD

Accessibility & contrast

On white

4.01
#B04BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B04BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BFA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BFA#FFFFFF#000000##000000
##B04BFA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0780F6
Tritanopia (blue-blind)
#A4739E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b04bfa;
/* rgb */ color: rgb(176, 75, 250);
/* oklch */ color: oklch(62.7% 0.249 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd85fd',
    500: '#b04bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b04bfa;
$custom-light: #cd85fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bfa",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 250
  },
  "hsl": {
    "h": 274.629,
    "s": 94.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.24934,
    "h": 306.9
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#B04BFA
secondary
#CCEFB2
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B04BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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