#CFB3FF#CFB3FF

#CFB3FF is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.8% C 0.109 H 300.9°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CFB3FF
RGBrgb(207, 179, 255)
HSLhsl(262, 100%, 85%)
HSVhsv(262, 30%, 100%)
CMYKcmyk(18.8%, 29.8%, 0%, 0%)
CIE-LABlab(77.71, 24.74, -33.87)
CIE-LCHlch(77.71, 41.94, 306.15°)
OKLaboklab(81.75% 0.0559 -0.0933)
OKLCHoklch(81.75% 0.109 300.9)
XYZxyz(59.8984, 52.7255, 101.6098)
Luminance0.5273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3FF #E3FFB3
analogous
#B3BDFF #CFB3FF #F5B3FF
triadic
#CFB3FF #FFCFB3 #B3FFCF
tetradic
#CFB3FF #FFB3BD #E3FFB3 #B3FFF5
square
#CFB3FF #FFB3BD #E3FFB3 #B3FFF5
split-complementary
#CFB3FF #FFF5B3 #BDFFB3
monochromatic
#8239FF #A876FF #CFB3FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

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

On black

11.55
#CFB3FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3FF
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3FF#FFFFFF#000000##000000
##CFB3FF1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb3ff;
/* rgb */ color: rgb(207, 179, 255);
/* oklch */ color: oklch(81.8% 0.109 300.9);
Tailwind
colors: {
  custom: {
    50: '#decaff',
    500: '#cfb3ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3ff;
$custom-light: #decaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3ff",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 255
  },
  "hsl": {
    "h": 262.105,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.10874,
    "h": 300.9
  },
  "luminance": 0.52726
}

Semantic roles & 50–950 ramp

primary
#CFB3FF
secondary
#BBE670
accent
#E60091
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB3FF

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

Preview Lab → · Contrast checker → · Palette generator →

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