#B072F9#B072F9

#B072F9 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.197 H 302.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B072F9
RGBrgb(176, 114, 249)
HSLhsl(268, 92%, 71%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(29.3%, 54.2%, 0%, 2.4%)
CIE-LABlab(59.98, 50.33, -58.67)
CIE-LCHlch(59.98, 77.30, 310.63°)
OKLaboklab(67.62% 0.1062 -0.1655)
OKLCHoklch(67.62% 0.197 302.7)
XYZxyz(41.0168, 28.1043, 92.8680)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F9 #BBF972
analogous
#7277F9 #B072F9 #F472F9
triadic
#B072F9 #F9B072 #72F9B0
tetradic
#B072F9 #F97277 #BBF972 #72F9F4
square
#B072F9 #F97277 #BBF972 #72F9F4
split-complementary
#B072F9 #F9F472 #77F972
monochromatic
#6F0AE7 #8F37F7 #B072F9 #D1ADFB #EFE2FE

Accessibility & contrast

On white

3.17
#B072F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B072F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F9#FFFFFF#000000##000000
##B072F91.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFE
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#A28CAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b072f9;
/* rgb */ color: rgb(176, 114, 249);
/* oklch */ color: oklch(67.6% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#cb9cfc',
    500: '#b072f9',
    950: '#000000',
  },
}
SCSS
$custom: #b072f9;
$custom-light: #cb9cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f9",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 267.556,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67617,
    "c": 0.19665,
    "h": 302.7
  },
  "luminance": 0.28104
}

Semantic roles & 50–950 ramp

primary
#B072F9
secondary
#E5F5D2
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072F9

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

Preview Lab → · Contrast checker → · Palette generator →

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