#B072F1#B072F1

#B072F1 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.187 H 304.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B072F1
RGBrgb(176, 114, 241)
HSLhsl(269, 82%, 70%)
HSVhsv(269, 53%, 95%)
CMYKcmyk(27%, 52.7%, 0%, 5.5%)
CIE-LABlab(59.54, 48.45, -54.94)
CIE-LCHlch(59.54, 73.26, 311.41°)
OKLaboklab(67.15% 0.1058 -0.1546)
OKLCHoklch(67.15% 0.187 304.4)
XYZxyz(39.7955, 27.6158, 86.4359)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F1 #B3F172
analogous
#7274F1 #B072F1 #EF72F1
triadic
#B072F1 #F1B072 #72F1B0
tetradic
#B072F1 #F17274 #B3F172 #72F1EF
square
#B072F1 #F17274 #B3F172 #72F1EF
split-complementary
#B072F1 #F1EF72 #74F172
monochromatic
#7215D4 #913AEB #B072F1 #CFAAF7 #EEE1FC

Accessibility & contrast

On white

3.22
#B072F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B072F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F1#FFFFFF#000000##000000
##B072F11.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF5
Deuteranopia (green-blind)
#5B8FEE
Tritanopia (blue-blind)
#A58AA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b072f1;
/* rgb */ color: rgb(176, 114, 241);
/* oklch */ color: oklch(67.1% 0.187 304.4);
Tailwind
colors: {
  custom: {
    50: '#cb9cf6',
    500: '#b072f1',
    950: '#000000',
  },
}
SCSS
$custom: #b072f1;
$custom-light: #cb9cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f1",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 269.291,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.18736,
    "h": 304.4
  },
  "luminance": 0.27616
}

Semantic roles & 50–950 ramp

primary
#B072F1
secondary
#E0F2CD
accent
#DE0775
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072F1

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

Preview Lab → · Contrast checker → · Palette generator →

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