#CFAEFB#CFAEFB

#CFAEFB is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.7% C 0.112 H 303.6°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CFAEFB
RGBrgb(207, 174, 251)
HSLhsl(266, 91%, 83%)
HSVhsv(266, 31%, 98%)
CMYKcmyk(17.5%, 30.7%, 0%, 1.6%)
CIE-LABlab(76.38, 26.60, -33.78)
CIE-LCHlch(76.38, 43.00, 308.21°)
OKLaboklab(80.68% 0.0619 -0.093)
OKLCHoklch(80.68% 0.112 303.6)
XYZxyz(58.2772, 50.5027, 97.9259)
Luminance0.5050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEFB #DAFBAE
analogous
#AEB3FB #CFAEFB #F5AEFB
triadic
#CFAEFB #FBCFAE #AEFBCF
tetradic
#CFAEFB #FBAEB3 #DAFBAE #AEFBF5
square
#CFAEFB #FBAEB3 #DAFBAE #AEFBF5
split-complementary
#CFAEFB #FBF5AE #B3FBAE
monochromatic
#8A39F5 #AC74F8 #CFAEFB #EEE2FE #EEE2FE

Accessibility & contrast

On white

1.89
#CFAEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#CFAEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEFB
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEFB#FFFFFF#000000##000000
##CFAEFB1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBCFE
Deuteranopia (green-blind)
#A4BCF9
Tritanopia (blue-blind)
#C8B9CA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaefb;
/* rgb */ color: rgb(207, 174, 251);
/* oklch */ color: oklch(80.7% 0.112 303.6);
Tailwind
colors: {
  custom: {
    50: '#dec6fd',
    500: '#cfaefb',
    950: '#000000',
  },
}
SCSS
$custom: #cfaefb;
$custom-light: #dec6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaefb",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 265.714,
    "s": 90.588,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80677,
    "c": 0.11171,
    "h": 303.6
  },
  "luminance": 0.50503
}

Semantic roles & 50–950 ramp

primary
#CFAEFB
secondary
#AFDF6F
accent
#E60083
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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