#CFB3FD#CFB3FD

#CFB3FD is a light, moderate violet. Relative luminance 0.526; OKLCH L 81.7% C 0.106 H 301.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CFB3FD
RGBrgb(207, 179, 253)
HSLhsl(263, 95%, 85%)
HSVhsv(263, 29%, 99%)
CMYKcmyk(18.2%, 29.2%, 0%, 0.8%)
CIE-LABlab(77.64, 24.30, -32.91)
CIE-LCHlch(77.64, 40.91, 306.44°)
OKLaboklab(81.67% 0.0554 -0.0905)
OKLCHoklch(81.67% 0.106 301.4)
XYZxyz(59.5782, 52.5974, 99.9230)
Luminance0.5260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3FD #E1FDB3
analogous
#B3BCFD #CFB3FD #F4B3FD
triadic
#CFB3FD #FDCFB3 #B3FDCF
tetradic
#CFB3FD #FDB3BC #E1FDB3 #B3FDF4
square
#CFB3FD #FDB3BC #E1FDB3 #B3FDF4
split-complementary
#CFB3FD #FDF4B3 #BCFDB3
monochromatic
#843CFA #A977FB #CFB3FD #ECE1FE #ECE1FE

Accessibility & contrast

On white

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

On black

11.52
#CFB3FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3FD
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3FD#FFFFFF#000000##000000
##CFB3FD1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#A8C0FB
Tritanopia (blue-blind)
#C7BECD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb3fd;
/* rgb */ color: rgb(207, 179, 253);
/* oklch */ color: oklch(81.7% 0.106 301.4);
Tailwind
colors: {
  custom: {
    50: '#decafe',
    500: '#cfb3fd',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3fd;
$custom-light: #decafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3fd",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 253
  },
  "hsl": {
    "h": 262.703,
    "s": 94.872,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81667,
    "c": 0.10614,
    "h": 301.4
  },
  "luminance": 0.52597
}

Semantic roles & 50–950 ramp

primary
#CFB3FD
secondary
#B8E272
accent
#E6008F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB3FD

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

Preview Lab → · Contrast checker → · Palette generator →

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