#BFA7EC#BFA7EC

#BFA7EC is a light, moderate violet. Relative luminance 0.448; OKLCH L 77.4% C 0.100 H 300.0°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#BFA7EC
RGBrgb(191, 167, 236)
HSLhsl(261, 64%, 79%)
HSVhsv(261, 29%, 93%)
CMYKcmyk(19.1%, 29.2%, 0%, 7.5%)
CIE-LABlab(72.74, 22.31, -31.39)
CIE-LCHlch(72.74, 38.51, 305.41°)
OKLaboklab(77.37% 0.05 -0.0864)
OKLCHoklch(77.37% 0.1 300)
XYZxyz(50.4417, 44.7698, 85.3246)
Luminance0.4477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA7EC #D4ECA7
analogous
#A7B2EC #BFA7EC #E2A7EC
triadic
#BFA7EC #ECBFA7 #A7ECBF
tetradic
#BFA7EC #ECA7B2 #D4ECA7 #A7ECE2
square
#BFA7EC #ECA7B2 #D4ECA7 #A7ECE2
split-complementary
#BFA7EC #ECE2A7 #B2ECA7
monochromatic
#7642D6 #9A75E1 #BFA7EC #E4D9F7 #EDE6FA

Accessibility & contrast

On white

2.11
#BFA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#BFA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA7EC
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA7EC#FFFFFF#000000##000000
##BFA7EC1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EF
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#B7B2C0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfa7ec;
/* rgb */ color: rgb(191, 167, 236);
/* oklch */ color: oklch(77.4% 0.100 300.0);
Tailwind
colors: {
  custom: {
    50: '#d3c1f2',
    500: '#bfa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #bfa7ec;
$custom-light: #d3c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa7ec",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 260.87,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77367,
    "c": 0.0998,
    "h": 300
  },
  "luminance": 0.4477
}

Semantic roles & 50–950 ramp

primary
#BFA7EC
secondary
#E9F1DA
accent
#CC198E
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141217
muted
#838185

Preview Lab

Preview with #BFA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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