#B07BEC#B07BEC

#B07BEC is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.3% C 0.168 H 304.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B07BEC
RGBrgb(176, 123, 236)
HSLhsl(268, 75%, 70%)
HSVhsv(268, 48%, 93%)
CMYKcmyk(25.4%, 47.9%, 0%, 7.5%)
CIE-LABlab(61.18, 42.42, -49.57)
CIE-LCHlch(61.18, 65.24, 310.55°)
OKLaboklab(68.28% 0.0936 -0.139)
OKLCHoklch(68.28% 0.168 304)
XYZxyz(40.1245, 29.4523, 82.9116)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07BEC #B7EC7B
analogous
#7B7EEC #B07BEC #E97BEC
triadic
#B07BEC #ECB07B #7BECB0
tetradic
#B07BEC #EC7B7E #B7EC7B #7BECE9
square
#B07BEC #EC7B7E #B7EC7B #7BECE9
split-complementary
#B07BEC #ECE97B #7EEC7B
monochromatic
#711ECF #9046E4 #B07BEC #D0B0F4 #EFE4FB

Accessibility & contrast

On white

3.05
#B07BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B07BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B07BEC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07BEC#FFFFFF#000000##000000
##B07BEC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#6894E9
Tritanopia (blue-blind)
#A68FA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b07bec;
/* rgb */ color: rgb(176, 123, 236);
/* oklch */ color: oklch(68.3% 0.168 304.0);
Tailwind
colors: {
  custom: {
    50: '#caa2f2',
    500: '#b07bec',
    950: '#000000',
  },
}
SCSS
$custom: #b07bec;
$custom-light: #caa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b07bec",
  "rgb": {
    "r": 176,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 268.142,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68279,
    "c": 0.16753,
    "h": 304
  },
  "luminance": 0.29452
}

Semantic roles & 50–950 ramp

primary
#B07BEC
secondary
#E2F1D2
accent
#D70F79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B07BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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