#CFBAFE#CFBAFE

#CFBAFE is a very light, moderate violet. Relative luminance 0.555; OKLCH L 83.0% C 0.096 H 298.5°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFBAFE
RGBrgb(207, 186, 254)
HSLhsl(259, 97%, 86%)
HSVhsv(259, 27%, 100%)
CMYKcmyk(18.5%, 26.8%, 0%, 0.4%)
CIE-LABlab(79.35, 20.71, -30.81)
CIE-LCHlch(79.35, 37.12, 303.91°)
OKLaboklab(83% 0.0459 -0.0846)
OKLCHoklch(83% 0.096 298.5)
XYZxyz(61.1766, 55.5387, 101.2438)
Luminance0.5554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBAFE #E9FEBA
analogous
#BAC7FE #CFBAFE #F1BAFE
triadic
#CFBAFE #FECFBA #BAFECF
tetradic
#CFBAFE #FEBAC7 #E9FEBA #BAFEF1
square
#CFBAFE #FEBAC7 #E9FEBA #BAFEF1
split-complementary
#CFBAFE #FEF1BA #C7FEBA
monochromatic
#7B41FC #A57EFD #CFBAFE #EAE1FF #EAE1FF

Accessibility & contrast

On white

1.73
#CFBAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CFBAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBAFE
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBAFE#FFFFFF#000000##000000
##CFBAFE1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC5FF
Deuteranopia (green-blind)
#AEC4FC
Tritanopia (blue-blind)
#C7C4D2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfbafe;
/* rgb */ color: rgb(207, 186, 254);
/* oklch */ color: oklch(83.0% 0.096 298.5);
Tailwind
colors: {
  custom: {
    50: '#deceff',
    500: '#cfbafe',
    950: '#000000',
  },
}
SCSS
$custom: #cfbafe;
$custom-light: #deceff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbafe",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 258.529,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.09624,
    "h": 298.5
  },
  "luminance": 0.55539
}

Semantic roles & 50–950 ramp

primary
#CFBAFE
secondary
#C3E577
accent
#E6009F
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #CFBAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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