#B060E2#B060E2

#B060E2 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.7% C 0.198 H 310.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B060E2
RGBrgb(176, 96, 226)
HSLhsl(277, 69%, 63%)
HSVhsv(277, 58%, 89%)
CMYKcmyk(22.1%, 57.5%, 0%, 11.4%)
CIE-LABlab(55.16, 54.40, -53.55)
CIE-LCHlch(55.16, 76.33, 315.45°)
OKLaboklab(63.66% 0.128 -0.1505)
OKLCHoklch(63.66% 0.198 310.4)
XYZxyz(35.8123, 23.0875, 74.5065)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B060E2 #92E260
analogous
#6F60E2 #B060E2 #E260D3
triadic
#B060E2 #E2B060 #60E2B0
tetradic
#B060E2 #E26F60 #92E260 #60D3E2
square
#B060E2 #E26F60 #92E260 #60D3E2
split-complementary
#B060E2 #D3E260 #60E26F
monochromatic
#741FA9 #962CD9 #B060E2 #CA94EB #E3C8F5

Accessibility & contrast

On white

3.74
#B060E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B060E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B060E2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B060E2#FFFFFF#000000##000000
##B060E21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E6
Deuteranopia (green-blind)
#5385DF
Tritanopia (blue-blind)
#AA7898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b060e2;
/* rgb */ color: rgb(176, 96, 226);
/* oklch */ color: oklch(63.7% 0.198 310.4);
Tailwind
colors: {
  custom: {
    50: '#cb91ec',
    500: '#b060e2',
    950: '#000000',
  },
}
SCSS
$custom: #b060e2;
$custom-light: #cb91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b060e2",
  "rgb": {
    "r": 176,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 276.923,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63662,
    "c": 0.19754,
    "h": 310.4
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#B060E2
secondary
#CAE6B8
accent
#D1145D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B060E2

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

Preview Lab → · Contrast checker → · Palette generator →

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