#B07DEC#B07DEC

#B07DEC is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.164 H 303.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#B07DEC
RGBrgb(176, 125, 236)
HSLhsl(268, 74%, 71%)
HSVhsv(268, 47%, 93%)
CMYKcmyk(25.4%, 47%, 0%, 7.5%)
CIE-LABlab(61.61, 41.32, -48.88)
CIE-LCHlch(61.61, 64.00, 310.21°)
OKLaboklab(68.6% 0.0909 -0.1369)
OKLCHoklch(68.6% 0.164 303.6)
XYZxyz(40.3751, 29.9536, 82.9952)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07DEC #B9EC7D
analogous
#7D81EC #B07DEC #E87DEC
triadic
#B07DEC #ECB07D #7DECB0
tetradic
#B07DEC #EC7D81 #B9EC7D #7DECE8
square
#B07DEC #EC7D81 #B9EC7D #7DECE8
split-complementary
#B07DEC #ECE87D #81EC7D
monochromatic
#701ED0 #9048E4 #B07DEC #D0B2F4 #EFE4FB

Accessibility & contrast

On white

3.00
#B07DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#B07DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B07DEC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07DEC#FFFFFF#000000##000000
##B07DEC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#A690A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b07dec;
/* rgb */ color: rgb(176, 125, 236);
/* oklch */ color: oklch(68.6% 0.164 303.6);
Tailwind
colors: {
  custom: {
    50: '#caa4f2',
    500: '#b07dec',
    950: '#000000',
  },
}
SCSS
$custom: #b07dec;
$custom-light: #caa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b07dec",
  "rgb": {
    "r": 176,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 267.568,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68604,
    "c": 0.16438,
    "h": 303.6
  },
  "luminance": 0.29953
}

Semantic roles & 50–950 ramp

primary
#B07DEC
secondary
#E4F1D3
accent
#D70F7B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B07DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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