#D7BCFE#D7BCFE

#D7BCFE is a very light, moderate violet. Relative luminance 0.576; OKLCH L 84.0% C 0.095 H 303.1°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D7BCFE
RGBrgb(215, 188, 254)
HSLhsl(265, 97%, 87%)
HSVhsv(265, 26%, 100%)
CMYKcmyk(15.4%, 26%, 0%, 0.4%)
CIE-LABlab(80.50, 22.06, -28.99)
CIE-LCHlch(80.50, 36.43, 307.27°)
OKLaboklab(84.04% 0.0518 -0.0794)
OKLCHoklch(84.04% 0.095 303.1)
XYZxyz(63.8934, 57.5693, 101.4927)
Luminance0.5757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BCFE #E3FEBC
analogous
#BCC2FE #D7BCFE #F8BCFE
triadic
#D7BCFE #FED7BC #BCFED7
tetradic
#D7BCFE #FEBCC2 #E3FEBC #BCFEF8
square
#D7BCFE #FEBCC2 #E3FEBC #BCFEF8
split-complementary
#D7BCFE #FEF8BC #C2FEBC
monochromatic
#8F43FC #B380FD #D7BCFE #EDE1FF #EDE1FF

Accessibility & contrast

On white

1.68
#D7BCFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D7BCFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BCFE
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BCFE#FFFFFF#000000##000000
##D7BCFE1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC7FF
Deuteranopia (green-blind)
#B4C8FC
Tritanopia (blue-blind)
#D1C5D3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7bcfe;
/* rgb */ color: rgb(215, 188, 254);
/* oklch */ color: oklch(84.0% 0.095 303.1);
Tailwind
colors: {
  custom: {
    50: '#e4d0ff',
    500: '#d7bcfe',
    950: '#000000',
  },
}
SCSS
$custom: #d7bcfe;
$custom-light: #e4d0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bcfe",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 254
  },
  "hsl": {
    "h": 264.545,
    "s": 97.059,
    "l": 86.667
  },
  "oklch": {
    "l": 0.84042,
    "c": 0.09476,
    "h": 303.1
  },
  "luminance": 0.57569
}

Semantic roles & 50–950 ramp

primary
#D7BCFE
secondary
#B9E579
accent
#E60088
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #D7BCFE

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

Preview Lab → · Contrast checker → · Palette generator →

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