#B07AF7#B07AF7

#B07AF7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.182 H 301.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B07AF7
RGBrgb(176, 122, 247)
HSLhsl(266, 89%, 72%)
HSVhsv(266, 51%, 97%)
CMYKcmyk(28.7%, 50.6%, 0%, 3.1%)
CIE-LABlab(61.54, 45.56, -55.08)
CIE-LCHlch(61.54, 71.48, 309.60°)
OKLaboklab(68.73% 0.0959 -0.1551)
OKLCHoklch(68.73% 0.182 301.7)
XYZxyz(41.6487, 29.8645, 91.5479)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07AF7 #C1F77A
analogous
#7A83F7 #B07AF7 #EE7AF7
triadic
#B07AF7 #F7B07A #7AF7B0
tetradic
#B07AF7 #F77A83 #C1F77A #7AF7EE
square
#B07AF7 #F77A83 #C1F77A #7AF7EE
split-complementary
#B07AF7 #F7EE7A #83F77A
monochromatic
#6C0EE9 #8E40F4 #B07AF7 #D2B4FA #EEE2FD

Accessibility & contrast

On white

3.01
#B07AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B07AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B07AF7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07AF7#FFFFFF#000000##000000
##B07AF71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#A391AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b07af7;
/* rgb */ color: rgb(176, 122, 247);
/* oklch */ color: oklch(68.7% 0.182 301.7);
Tailwind
colors: {
  custom: {
    50: '#cba2fa',
    500: '#b07af7',
    950: '#000000',
  },
}
SCSS
$custom: #b07af7;
$custom-light: #cba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b07af7",
  "rgb": {
    "r": 176,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 265.92,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68731,
    "c": 0.18234,
    "h": 301.7
  },
  "luminance": 0.29865
}

Semantic roles & 50–950 ramp

primary
#B07AF7
secondary
#E8F5D6
accent
#E50082
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B07AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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