#B060E4#B060E4

#B060E4 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.8% C 0.200 H 309.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B060E4
RGBrgb(176, 96, 228)
HSLhsl(276, 71%, 64%)
HSVhsv(276, 58%, 89%)
CMYKcmyk(22.8%, 57.9%, 0%, 10.6%)
CIE-LABlab(55.28, 54.84, -54.49)
CIE-LCHlch(55.28, 77.31, 315.18°)
OKLaboklab(63.78% 0.128 -0.1532)
OKLCHoklch(63.78% 0.2 309.9)
XYZxyz(36.0883, 23.1980, 75.9603)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B060E4 #94E460
analogous
#6E60E4 #B060E4 #E460D6
triadic
#B060E4 #E4B060 #60E4B0
tetradic
#B060E4 #E46E60 #94E460 #60D6E4
square
#B060E4 #E46E60 #94E460 #60D6E4
split-complementary
#B060E4 #D6E460 #60E46E
monochromatic
#741DAC #962CDB #B060E4 #CA94ED #E4C9F6

Accessibility & contrast

On white

3.72
#B060E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B060E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B060E4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B060E4#FFFFFF#000000##000000
##B060E41.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E8
Deuteranopia (green-blind)
#5186E1
Tritanopia (blue-blind)
#A97899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b060e4;
/* rgb */ color: rgb(176, 96, 228);
/* oklch */ color: oklch(63.8% 0.200 309.9);
Tailwind
colors: {
  custom: {
    50: '#cb91ed',
    500: '#b060e4',
    950: '#000000',
  },
}
SCSS
$custom: #b060e4;
$custom-light: #cb91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b060e4",
  "rgb": {
    "r": 176,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 276.364,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63781,
    "c": 0.19967,
    "h": 309.9
  },
  "luminance": 0.23197
}

Semantic roles & 50–950 ramp

primary
#B060E4
secondary
#CBE7B9
accent
#D3135E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B060E4

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

Preview Lab → · Contrast checker → · Palette generator →

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