#CFB3FE#CFB3FE

#CFB3FE is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.7% C 0.107 H 301.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CFB3FE
RGBrgb(207, 179, 254)
HSLhsl(262, 97%, 85%)
HSVhsv(262, 30%, 100%)
CMYKcmyk(18.5%, 29.5%, 0%, 0.4%)
CIE-LABlab(77.67, 24.52, -33.39)
CIE-LCHlch(77.67, 41.43, 306.29°)
OKLaboklab(81.71% 0.0556 -0.0919)
OKLCHoklch(81.71% 0.107 301.2)
XYZxyz(59.7379, 52.6613, 100.7642)
Luminance0.5266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3FE #E2FEB3
analogous
#B3BDFE #CFB3FE #F5B3FE
triadic
#CFB3FE #FECFB3 #B3FECF
tetradic
#CFB3FE #FEB3BD #E2FEB3 #B3FEF5
square
#CFB3FE #FEB3BD #E2FEB3 #B3FEF5
split-complementary
#CFB3FE #FEF5B3 #BDFEB3
monochromatic
#833AFC #A977FD #CFB3FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.82
#CFB3FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CFB3FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3FE
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3FE#FFFFFF#000000##000000
##CFB3FE1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#A8C0FC
Tritanopia (blue-blind)
#C7BECE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb3fe;
/* rgb */ color: rgb(207, 179, 254);
/* oklch */ color: oklch(81.7% 0.107 301.2);
Tailwind
colors: {
  custom: {
    50: '#decaff',
    500: '#cfb3fe',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3fe;
$custom-light: #decaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3fe",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 254
  },
  "hsl": {
    "h": 262.4,
    "s": 97.403,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81709,
    "c": 0.10744,
    "h": 301.2
  },
  "luminance": 0.52661
}

Semantic roles & 50–950 ramp

primary
#CFB3FE
secondary
#B9E471
accent
#E60090
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB3FE

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

Preview Lab → · Contrast checker → · Palette generator →

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