#B072F4#B072F4

#B072F4 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.191 H 303.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B072F4
RGBrgb(176, 114, 244)
HSLhsl(269, 86%, 70%)
HSVhsv(269, 53%, 96%)
CMYKcmyk(27.9%, 53.3%, 0%, 4.3%)
CIE-LABlab(59.70, 49.15, -56.34)
CIE-LCHlch(59.70, 74.77, 311.10°)
OKLaboklab(67.32% 0.106 -0.1587)
OKLCHoklch(67.32% 0.191 303.7)
XYZxyz(40.2473, 27.7965, 88.8153)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F4 #B6F472
analogous
#7275F4 #B072F4 #F172F4
triadic
#B072F4 #F4B072 #72F4B0
tetradic
#B072F4 #F47275 #B6F472 #72F4F1
square
#B072F4 #F47275 #B6F472 #72F4F1
split-complementary
#B072F4 #F4F172 #75F472
monochromatic
#7111DB #9039F0 #B072F4 #D0ABF8 #EFE3FD

Accessibility & contrast

On white

3.20
#B072F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B072F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F4#FFFFFF#000000##000000
##B072F41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF8
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#A48AA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b072f4;
/* rgb */ color: rgb(176, 114, 244);
/* oklch */ color: oklch(67.3% 0.191 303.7);
Tailwind
colors: {
  custom: {
    50: '#cb9cf8',
    500: '#b072f4',
    950: '#000000',
  },
}
SCSS
$custom: #b072f4;
$custom-light: #cb9cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f4",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 268.615,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.19085,
    "h": 303.7
  },
  "luminance": 0.27796
}

Semantic roles & 50–950 ramp

primary
#B072F4
secondary
#E2F3CF
accent
#E20378
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072F4

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

Preview Lab → · Contrast checker → · Palette generator →

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