#CFB3FA#CFB3FA

#CFB3FA is a light, moderate violet. Relative luminance 0.524; OKLCH L 81.5% C 0.102 H 302.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CFB3FA
RGBrgb(207, 179, 250)
HSLhsl(264, 88%, 84%)
HSVhsv(264, 28%, 98%)
CMYKcmyk(17.2%, 28.4%, 0%, 2%)
CIE-LABlab(77.52, 23.65, -31.48)
CIE-LCHlch(77.52, 39.37, 306.92°)
OKLaboklab(81.54% 0.0546 -0.0865)
OKLCHoklch(81.54% 0.102 302.3)
XYZxyz(59.1040, 52.4077, 97.4259)
Luminance0.5241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3FA #DEFAB3
analogous
#B3BBFA #CFB3FA #F3B3FA
triadic
#CFB3FA #FACFB3 #B3FACF
tetradic
#CFB3FA #FAB3BB #DEFAB3 #B3FAF3
square
#CFB3FA #FAB3BB #DEFAB3 #B3FAF3
split-complementary
#CFB3FA #FAF3B3 #BBFAB3
monochromatic
#8640F2 #AB7AF6 #CFB3FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

11.48
#CFB3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3FA
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3FA#FFFFFF#000000##000000
##CFB3FA1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFD
Deuteranopia (green-blind)
#A9BFF8
Tritanopia (blue-blind)
#C8BDCC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb3fa;
/* rgb */ color: rgb(207, 179, 250);
/* oklch */ color: oklch(81.5% 0.102 302.3);
Tailwind
colors: {
  custom: {
    50: '#decafc',
    500: '#cfb3fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3fa;
$custom-light: #decafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3fa",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 250
  },
  "hsl": {
    "h": 263.662,
    "s": 87.654,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81544,
    "c": 0.10224,
    "h": 302.3
  },
  "luminance": 0.52408
}

Semantic roles & 50–950 ramp

primary
#CFB3FA
secondary
#B4DE74
accent
#E4018B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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