#B072F8#B072F8

#B072F8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.6% C 0.196 H 302.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B072F8
RGBrgb(176, 114, 248)
HSLhsl(268, 91%, 71%)
HSVhsv(268, 54%, 97%)
CMYKcmyk(29%, 54%, 0%, 2.7%)
CIE-LABlab(59.93, 50.09, -58.20)
CIE-LCHlch(59.93, 76.79, 310.72°)
OKLaboklab(67.56% 0.1061 -0.1642)
OKLCHoklch(67.56% 0.196 302.9)
XYZxyz(40.8613, 28.0421, 92.0487)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F8 #BAF872
analogous
#7277F8 #B072F8 #F372F8
triadic
#B072F8 #F8B072 #72F8B0
tetradic
#B072F8 #F87277 #BAF872 #72F8F3
square
#B072F8 #F87277 #BAF872 #72F8F3
split-complementary
#B072F8 #F8F372 #77F872
monochromatic
#700BE4 #8F38F5 #B072F8 #D1ACFB #EFE2FE

Accessibility & contrast

On white

3.18
#B072F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B072F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F8#FFFFFF#000000##000000
##B072F81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#A38CAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b072f8;
/* rgb */ color: rgb(176, 114, 248);
/* oklch */ color: oklch(67.6% 0.196 302.9);
Tailwind
colors: {
  custom: {
    50: '#cb9cfb',
    500: '#b072f8',
    950: '#000000',
  },
}
SCSS
$custom: #b072f8;
$custom-light: #cb9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f8",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 267.761,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.1955,
    "h": 302.9
  },
  "luminance": 0.28042
}

Semantic roles & 50–950 ramp

primary
#B072F8
secondary
#E4F5D1
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072F8

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

Preview Lab → · Contrast checker → · Palette generator →

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