#B07AFD#B07AFD

#B07AFD is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.190 H 300.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B07AFD
RGBrgb(176, 122, 253)
HSLhsl(265, 97%, 74%)
HSVhsv(265, 52%, 99%)
CMYKcmyk(30.4%, 51.8%, 0%, 0.8%)
CIE-LABlab(61.86, 47.00, -57.87)
CIE-LCHlch(61.86, 74.55, 309.08°)
OKLaboklab(69.08% 0.0964 -0.1632)
OKLCHoklch(69.08% 0.19 300.6)
XYZxyz(42.5895, 30.2408, 96.5027)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07AFD #C7FD7A
analogous
#7A85FD #B07AFD #F27AFD
triadic
#B07AFD #FDB07A #7AFDB0
tetradic
#B07AFD #FD7A85 #C7FD7A #7AFDF2
square
#B07AFD #FD7A85 #C7FD7A #7AFDF2
split-complementary
#B07AFD #FDF27A #85FD7A
monochromatic
#6904F9 #8C3EFC #B07AFD #D4B6FE #EDE1FF

Accessibility & contrast

On white

2.98
#B07AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B07AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07AFD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07AFD#FFFFFF#000000##000000
##B07AFD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#A193B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b07afd;
/* rgb */ color: rgb(176, 122, 253);
/* oklch */ color: oklch(69.1% 0.190 300.6);
Tailwind
colors: {
  custom: {
    50: '#cba2ff',
    500: '#b07afd',
    950: '#000000',
  },
}
SCSS
$custom: #b07afd;
$custom-light: #cba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b07afd",
  "rgb": {
    "r": 176,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 264.733,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69077,
    "c": 0.18954,
    "h": 300.6
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#B07AFD
secondary
#E9F7D4
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B07AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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