#CFB2FE#CFB2FE

#CFB2FE is a light, moderate violet. Relative luminance 0.523; OKLCH L 81.5% C 0.109 H 301.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CFB2FE
RGBrgb(207, 178, 254)
HSLhsl(263, 97%, 85%)
HSVhsv(263, 30%, 100%)
CMYKcmyk(18.5%, 29.9%, 0%, 0.4%)
CIE-LABlab(77.44, 25.07, -33.76)
CIE-LCHlch(77.44, 42.05, 306.60°)
OKLaboklab(81.53% 0.057 -0.0929)
OKLCHoklch(81.53% 0.109 301.5)
XYZxyz(59.5382, 52.2619, 100.6976)
Luminance0.5226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2FE #E1FEB2
analogous
#B2BBFE #CFB2FE #F5B2FE
triadic
#CFB2FE #FECFB2 #B2FECF
tetradic
#CFB2FE #FEB2BB #E1FEB2 #B2FEF5
square
#CFB2FE #FEB2BB #E1FEB2 #B2FEF5
split-complementary
#CFB2FE #FEF5B2 #BBFEB2
monochromatic
#8439FC #A976FD #CFB2FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.83
#CFB2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CFB2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2FE
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2FE#FFFFFF#000000##000000
##CFB2FE1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#C7BDCD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb2fe;
/* rgb */ color: rgb(207, 178, 254);
/* oklch */ color: oklch(81.5% 0.109 301.5);
Tailwind
colors: {
  custom: {
    50: '#dec9ff',
    500: '#cfb2fe',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2fe;
$custom-light: #dec9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2fe",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 254
  },
  "hsl": {
    "h": 262.895,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81527,
    "c": 0.10906,
    "h": 301.5
  },
  "luminance": 0.52262
}

Semantic roles & 50–950 ramp

primary
#CFB2FE
secondary
#B8E470
accent
#E6008E
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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