#B072F6#B072F6

#B072F6 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.4% C 0.193 H 303.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B072F6
RGBrgb(176, 114, 246)
HSLhsl(268, 88%, 71%)
HSVhsv(268, 54%, 96%)
CMYKcmyk(28.5%, 53.7%, 0%, 3.5%)
CIE-LABlab(59.82, 49.62, -57.28)
CIE-LCHlch(59.82, 75.78, 310.91°)
OKLaboklab(67.44% 0.106 -0.1615)
OKLCHoklch(67.44% 0.193 303.3)
XYZxyz(40.5526, 27.9186, 90.4233)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F6 #B8F672
analogous
#7276F6 #B072F6 #F272F6
triadic
#B072F6 #F6B072 #72F6B0
tetradic
#B072F6 #F67276 #B8F672 #72F6F2
square
#B072F6 #F67276 #B8F672 #72F6F2
split-complementary
#B072F6 #F6F272 #76F672
monochromatic
#700EDF #9038F2 #B072F6 #D0ACFA #EFE2FD

Accessibility & contrast

On white

3.19
#B072F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B072F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F6#FFFFFF#000000##000000
##B072F61.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#A38BA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b072f6;
/* rgb */ color: rgb(176, 114, 246);
/* oklch */ color: oklch(67.4% 0.193 303.3);
Tailwind
colors: {
  custom: {
    50: '#cb9cfa',
    500: '#b072f6',
    950: '#000000',
  },
}
SCSS
$custom: #b072f6;
$custom-light: #cb9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f6",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 268.182,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.19317,
    "h": 303.3
  },
  "luminance": 0.27919
}

Semantic roles & 50–950 ramp

primary
#B072F6
secondary
#E3F4D0
accent
#E5017A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072F6

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

Preview Lab → · Contrast checker → · Palette generator →

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