#B060F2#B060F2

#B060F2 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.215 H 306.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B060F2
RGBrgb(176, 96, 242)
HSLhsl(273, 85%, 66%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(27.3%, 60.3%, 0%, 5.1%)
CIE-LABlab(56.09, 57.95, -61.01)
CIE-LCHlch(56.09, 84.14, 313.52°)
OKLaboklab(64.64% 0.1279 -0.1724)
OKLCHoklch(64.64% 0.215 306.6)
XYZxyz(38.1110, 24.0070, 86.6133)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B060F2 #A2F260
analogous
#6760F2 #B060F2 #F260EB
triadic
#B060F2 #F2B060 #60F2B0
tetradic
#B060F2 #F26760 #A2F260 #60EBF2
square
#B060F2 #F26760 #A2F260 #60EBF2
split-complementary
#B060F2 #EBF260 #60F267
monochromatic
#7510C7 #9427ED #B060F2 #CC99F7 #E8D1FB

Accessibility & contrast

On white

3.62
#B060F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B060F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B060F2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B060F2#FFFFFF#000000##000000
##B060F21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1584F7
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#A57DA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b060f2;
/* rgb */ color: rgb(176, 96, 242);
/* oklch */ color: oklch(64.6% 0.215 306.6);
Tailwind
colors: {
  custom: {
    50: '#cc91f7',
    500: '#b060f2',
    950: '#000000',
  },
}
SCSS
$custom: #b060f2;
$custom-light: #cc91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b060f2",
  "rgb": {
    "r": 176,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 272.877,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.21464,
    "h": 306.6
  },
  "luminance": 0.24007
}

Semantic roles & 50–950 ramp

primary
#B060F2
secondary
#D5EFBF
accent
#E10468
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B060F2

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

Preview Lab → · Contrast checker → · Palette generator →

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