#B04BE7#B04BE7

#B04BE7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.4% C 0.231 H 311.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B04BE7
RGBrgb(176, 75, 231)
HSLhsl(279, 76%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(23.8%, 67.5%, 0%, 9.4%)
CIE-LABlab(51.87, 65.28, -61.64)
CIE-LCHlch(51.87, 89.78, 316.64°)
OKLaboklab(61.38% 0.152 -0.1741)
OKLCHoklch(61.38% 0.231 311.1)
XYZxyz(34.8417, 20.0326, 77.6171)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE7 #82E74B
analogous
#624BE7 #B04BE7 #E74BD0
triadic
#B04BE7 #E7B04B #4BE7B0
tetradic
#B04BE7 #E7624B #82E74B #4BD0E7
square
#B04BE7 #E7624B #82E74B #4BD0E7
split-complementary
#B04BE7 #D0E74B #4BE762
monochromatic
#7016A2 #961DD8 #B04BE7 #C881EE #DFB7F5

Accessibility & contrast

On white

4.19
#B04BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B04BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE7#FFFFFF#000000##000000
##B04BE71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#377DE4
Tritanopia (blue-blind)
#A96C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04be7;
/* rgb */ color: rgb(176, 75, 231);
/* oklch */ color: oklch(61.4% 0.231 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc85ef',
    500: '#b04be7',
    950: '#000000',
  },
}
SCSS
$custom: #b04be7;
$custom-light: #cc85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be7",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 278.846,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.2311,
    "h": 311.1
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#B04BE7
secondary
#BEE5A9
accent
#F33578
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B04BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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