#B072F2#B072F2

#B072F2 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.189 H 304.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B072F2
RGBrgb(176, 114, 242)
HSLhsl(269, 83%, 70%)
HSVhsv(269, 53%, 95%)
CMYKcmyk(27.3%, 52.9%, 0%, 5.1%)
CIE-LABlab(59.59, 48.68, -55.41)
CIE-LCHlch(59.59, 73.76, 311.30°)
OKLaboklab(67.21% 0.1058 -0.156)
OKLCHoklch(67.21% 0.189 304.2)
XYZxyz(39.9453, 27.6757, 87.2247)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F2 #B4F272
analogous
#7274F2 #B072F2 #F072F2
triadic
#B072F2 #F2B072 #72F2B0
tetradic
#B072F2 #F27274 #B4F272 #72F2F0
square
#B072F2 #F27274 #B4F272 #72F2F0
split-complementary
#B072F2 #F2F072 #74F272
monochromatic
#7214D6 #913AED #B072F2 #CFAAF7 #EFE2FC

Accessibility & contrast

On white

3.21
#B072F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B072F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F2#FFFFFF#000000##000000
##B072F21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#A48AA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b072f2;
/* rgb */ color: rgb(176, 114, 242);
/* oklch */ color: oklch(67.2% 0.189 304.2);
Tailwind
colors: {
  custom: {
    50: '#cb9cf7',
    500: '#b072f2',
    950: '#000000',
  },
}
SCSS
$custom: #b072f2;
$custom-light: #cb9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f2",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 269.063,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67205,
    "c": 0.18852,
    "h": 304.2
  },
  "luminance": 0.27676
}

Semantic roles & 50–950 ramp

primary
#B072F2
secondary
#E0F2CE
accent
#E00676
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072F2

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

Preview Lab → · Contrast checker → · Palette generator →

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