#B07AF5#B07AF5

#B07AF5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.180 H 302.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B07AF5
RGBrgb(176, 122, 245)
HSLhsl(266, 86%, 72%)
HSVhsv(266, 50%, 96%)
CMYKcmyk(28.2%, 50.2%, 0%, 3.9%)
CIE-LABlab(61.43, 45.08, -54.15)
CIE-LCHlch(61.43, 70.46, 309.78°)
OKLaboklab(68.62% 0.0958 -0.1523)
OKLCHoklch(68.62% 0.18 302.2)
XYZxyz(41.3417, 29.7417, 89.9312)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07AF5 #BFF57A
analogous
#7A82F5 #B07AF5 #ED7AF5
triadic
#B07AF5 #F5B07A #7AF5B0
tetradic
#B07AF5 #F57A82 #BFF57A #7AF5ED
square
#B07AF5 #F57A82 #BFF57A #7AF5ED
split-complementary
#B07AF5 #F5ED7A #82F57A
monochromatic
#6D11E3 #8E41F1 #B07AF5 #D2B3F9 #EEE3FD

Accessibility & contrast

On white

3.02
#B07AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B07AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B07AF5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07AF5#FFFFFF#000000##000000
##B07AF51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#A391AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b07af5;
/* rgb */ color: rgb(176, 122, 245);
/* oklch */ color: oklch(68.6% 0.180 302.2);
Tailwind
colors: {
  custom: {
    50: '#caa2f9',
    500: '#b07af5',
    950: '#000000',
  },
}
SCSS
$custom: #b07af5;
$custom-light: #caa2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b07af5",
  "rgb": {
    "r": 176,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 266.341,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.17994,
    "h": 302.2
  },
  "luminance": 0.29742
}

Semantic roles & 50–950 ramp

primary
#B07AF5
secondary
#E7F5D6
accent
#E30380
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B07AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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