#B072F7#B072F7

#B072F7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.194 H 303.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B072F7
RGBrgb(176, 114, 247)
HSLhsl(268, 89%, 71%)
HSVhsv(268, 54%, 97%)
CMYKcmyk(28.7%, 53.8%, 0%, 3.1%)
CIE-LABlab(59.87, 49.86, -57.74)
CIE-LCHlch(59.87, 76.29, 310.81°)
OKLaboklab(67.5% 0.1061 -0.1628)
OKLCHoklch(67.5% 0.194 303.1)
XYZxyz(40.7065, 27.9802, 91.2338)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072F7 #B9F772
analogous
#7276F7 #B072F7 #F372F7
triadic
#B072F7 #F7B072 #72F7B0
tetradic
#B072F7 #F77276 #B9F772 #72F7F3
square
#B072F7 #F77276 #B9F772 #72F7F3
split-complementary
#B072F7 #F7F372 #76F772
monochromatic
#700DE2 #9038F4 #B072F7 #D0ACFA #EFE2FD

Accessibility & contrast

On white

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

On black

6.60
#B072F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072F7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072F7#FFFFFF#000000##000000
##B072F71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#A38BAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b072f7;
/* rgb */ color: rgb(176, 114, 247);
/* oklch */ color: oklch(67.5% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#cb9cfa',
    500: '#b072f7',
    950: '#000000',
  },
}
SCSS
$custom: #b072f7;
$custom-light: #cb9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b072f7",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 267.97,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.19433,
    "h": 303.1
  },
  "luminance": 0.2798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B072F7

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

Preview Lab → · Contrast checker → · Palette generator →

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