#CFBAF2#CFBAF2

#CFBAF2 is a very light, moderate violet. Relative luminance 0.548; OKLCH L 82.5% C 0.080 H 301.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CFBAF2
RGBrgb(207, 186, 242)
HSLhsl(263, 68%, 84%)
HSVhsv(263, 23%, 95%)
CMYKcmyk(14.5%, 23.1%, 0%, 5.1%)
CIE-LABlab(78.92, 18.13, -25.03)
CIE-LCHlch(78.92, 30.91, 305.92°)
OKLaboklab(82.53% 0.0424 -0.0683)
OKLCHoklch(82.53% 0.08 301.8)
XYZxyz(59.3148, 54.7940, 91.4386)
Luminance0.5479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBAF2 #DDF2BA
analogous
#BAC1F2 #CFBAF2 #EBBAF2
triadic
#CFBAF2 #F2CFBA #BAF2CF
tetradic
#CFBAF2 #F2BAC1 #DDF2BA #BAF2EB
square
#CFBAF2 #F2BAC1 #DDF2BA #BAF2EB
split-complementary
#CFBAF2 #F2EBBA #C1F2BA
monochromatic
#8753DF #AB87E8 #CFBAF2 #EDE5FA #EDE5FA

Accessibility & contrast

On white

1.76
#CFBAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CFBAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBAF2
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBAF2#FFFFFF#000000##000000
##CFBAF21.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC3F4
Deuteranopia (green-blind)
#B3C3F0
Tritanopia (blue-blind)
#C9C2CD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfbaf2;
/* rgb */ color: rgb(207, 186, 242);
/* oklch */ color: oklch(82.5% 0.080 301.8);
Tailwind
colors: {
  custom: {
    50: '#decef6',
    500: '#cfbaf2',
    950: '#000000',
  },
}
SCSS
$custom: #cfbaf2;
$custom-light: #decef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbaf2",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 242
  },
  "hsl": {
    "h": 262.5,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.82526,
    "c": 0.08038,
    "h": 301.8
  },
  "luminance": 0.54794
}

Semantic roles & 50–950 ramp

primary
#CFBAF2
secondary
#B2D27F
accent
#D0158A
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFBAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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