#B072EC#B072EC

#B072EC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.182 H 305.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B072EC
RGBrgb(176, 114, 236)
HSLhsl(270, 76%, 69%)
HSVhsv(270, 52%, 93%)
CMYKcmyk(25.4%, 51.7%, 0%, 7.5%)
CIE-LABlab(59.27, 47.29, -52.60)
CIE-LCHlch(59.27, 70.73, 311.96°)
OKLaboklab(66.86% 0.1055 -0.1478)
OKLCHoklch(66.86% 0.182 305.5)
XYZxyz(39.0589, 27.3211, 82.5564)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072EC #AEEC72
analogous
#7372EC #B072EC #EC72EB
triadic
#B072EC #ECB072 #72ECB0
tetradic
#B072EC #EC7372 #AEEC72 #72EBEC
square
#B072EC #EC7372 #AEEC72 #72EBEC
split-complementary
#B072EC #EBEC72 #72EC73
monochromatic
#731BC9 #923CE5 #B072EC #CEA8F3 #ECDEFB

Accessibility & contrast

On white

3.25
#B072EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B072EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072EC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072EC#FFFFFF#000000##000000
##B072EC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#A688A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b072ec;
/* rgb */ color: rgb(176, 114, 236);
/* oklch */ color: oklch(66.9% 0.182 305.5);
Tailwind
colors: {
  custom: {
    50: '#ca9cf3',
    500: '#b072ec',
    950: '#000000',
  },
}
SCSS
$custom: #b072ec;
$custom-light: #ca9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b072ec",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 270.492,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66861,
    "c": 0.18154,
    "h": 305.5
  },
  "luminance": 0.27321
}

Semantic roles & 50–950 ramp

primary
#B072EC
secondary
#DDEFCB
accent
#D80D71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072EC

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

Preview Lab → · Contrast checker → · Palette generator →

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