#B07DF2#B07DF2

#B07DF2 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.172 H 302.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B07DF2
RGBrgb(176, 125, 242)
HSLhsl(266, 82%, 72%)
HSVhsv(266, 48%, 95%)
CMYKcmyk(27.3%, 48.3%, 0%, 5.1%)
CIE-LABlab(61.92, 42.73, -51.72)
CIE-LCHlch(61.92, 67.09, 309.57°)
OKLaboklab(68.93% 0.0916 -0.1452)
OKLCHoklch(68.93% 0.172 302.2)
XYZxyz(41.2615, 30.3081, 87.6635)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07DF2 #BFF27D
analogous
#7D85F2 #B07DF2 #EB7DF2
triadic
#B07DF2 #F2B07D #7DF2B0
tetradic
#B07DF2 #F27D85 #BFF27D #7DF2EB
square
#B07DF2 #F27D85 #BFF27D #7DF2EB
split-complementary
#B07DF2 #F2EB7D #85F27D
monochromatic
#6D16DE #8E45EC #B07DF2 #D2B5F8 #EEE3FC

Accessibility & contrast

On white

2.97
#B07DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B07DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07DF2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07DF2#FFFFFF#000000##000000
##B07DF21.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A492AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b07df2;
/* rgb */ color: rgb(176, 125, 242);
/* oklch */ color: oklch(68.9% 0.172 302.2);
Tailwind
colors: {
  custom: {
    50: '#caa4f7',
    500: '#b07df2',
    950: '#000000',
  },
}
SCSS
$custom: #b07df2;
$custom-light: #caa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b07df2",
  "rgb": {
    "r": 176,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 266.154,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.1717,
    "h": 302.2
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#B07DF2
secondary
#E7F4D7
accent
#DE0781
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #B07DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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