#B07ECC#B07ECC

#B07ECC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.2% C 0.124 H 312.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B07ECC
RGBrgb(176, 126, 204)
HSLhsl(278, 43%, 65%)
HSVhsv(278, 38%, 80%)
CMYKcmyk(13.7%, 38.2%, 0%, 20%)
CIE-LABlab(60.35, 33.55, -32.98)
CIE-LCHlch(60.35, 47.04, 315.50°)
OKLaboklab(67.17% 0.0841 -0.091)
OKLCHoklch(67.17% 0.124 312.8)
XYZxyz(36.2626, 28.5121, 60.7081)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07ECC #9ACC7E
analogous
#897ECC #B07ECC #CC7EC1
triadic
#B07ECC #CCB07E #7ECCB0
tetradic
#B07ECC #CC897E #9ACC7E #7EC1CC
square
#B07ECC #CC897E #9ACC7E #7EC1CC
split-complementary
#B07ECC #C1CC7E #7ECC89
monochromatic
#743B95 #9552BB #B07ECC #CBAADD #E6D6EF

Accessibility & contrast

On white

3.13
#B07ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B07ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B07ECC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07ECC#FFFFFF#000000##000000
##B07ECC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FCF
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#AE899B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b07ecc;
/* rgb */ color: rgb(176, 126, 204);
/* oklch */ color: oklch(67.2% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#c9a4dc',
    500: '#b07ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b07ecc;
$custom-light: #c9a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b07ecc",
  "rgb": {
    "r": 176,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 278.462,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67166,
    "c": 0.1239,
    "h": 312.8
  },
  "luminance": 0.28511
}

Semantic roles & 50–950 ramp

primary
#B07ECC
secondary
#CFE0C6
accent
#B62F60
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B07ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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