#B04CF7#B04CF7

#B04CF7 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.6% C 0.245 H 307.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B04CF7
RGBrgb(176, 76, 247)
HSLhsl(275, 91%, 63%)
HSVhsv(275, 69%, 97%)
CMYKcmyk(28.7%, 69.2%, 0%, 3.1%)
CIE-LABlab(53.08, 68.24, -68.66)
CIE-LCHlch(53.08, 96.81, 314.82°)
OKLaboklab(62.57% 0.1492 -0.1947)
OKLCHoklch(62.57% 0.245 307.5)
XYZxyz(37.2739, 21.1149, 90.0896)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CF7 #93F74C
analogous
#5A4CF7 #B04CF7 #F74CE8
triadic
#B04CF7 #F7B04C #4CF7B0
tetradic
#B04CF7 #F75A4C #93F74C #4CE8F7
square
#B04CF7 #F75A4C #93F74C #4CE8F7
split-complementary
#B04CF7 #E8F74C #4CF75A
monochromatic
#7409C0 #9611F4 #B04CF7 #CA87FA #E4C1FC

Accessibility & contrast

On white

4.02
#B04CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B04CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CF7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CF7#FFFFFF#000000##000000
##B04CF71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#1980F3
Tritanopia (blue-blind)
#A4739C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b04cf7;
/* rgb */ color: rgb(176, 76, 247);
/* oklch */ color: oklch(62.6% 0.245 307.5);
Tailwind
colors: {
  custom: {
    50: '#cd86fb',
    500: '#b04cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b04cf7;
$custom-light: #cd86fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cf7",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 275.088,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.2453,
    "h": 307.5
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#B04CF7
secondary
#CAEEB1
accent
#E6005F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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