#CFAEFC#CFAEFC

#CFAEFC is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.7% C 0.113 H 303.4°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CFAEFC
RGBrgb(207, 174, 252)
HSLhsl(265, 93%, 84%)
HSVhsv(265, 31%, 99%)
CMYKcmyk(17.9%, 31%, 0%, 1.2%)
CIE-LABlab(76.42, 26.81, -34.26)
CIE-LCHlch(76.42, 43.51, 308.05°)
OKLaboklab(80.72% 0.0621 -0.0944)
OKLCHoklch(80.72% 0.113 303.4)
XYZxyz(58.4353, 50.5659, 98.7583)
Luminance0.5057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEFC #DBFCAE
analogous
#AEB4FC #CFAEFC #F6AEFC
triadic
#CFAEFC #FCCFAE #AEFCCF
tetradic
#CFAEFC #FCAEB4 #DBFCAE #AEFCF6
square
#CFAEFC #FCAEB4 #DBFCAE #AEFCF6
split-complementary
#CFAEFC #FCF6AE #B4FCAE
monochromatic
#8938F8 #AC73FA #CFAEFC #EEE1FE #EEE1FE

Accessibility & contrast

On white

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

On black

11.11
#CFAEFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEFC
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEFC#FFFFFF#000000##000000
##CFAEFC1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBCFF
Deuteranopia (green-blind)
#A4BCFA
Tritanopia (blue-blind)
#C8BACA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaefc;
/* rgb */ color: rgb(207, 174, 252);
/* oklch */ color: oklch(80.7% 0.113 303.4);
Tailwind
colors: {
  custom: {
    50: '#dec6fd',
    500: '#cfaefc',
    950: '#000000',
  },
}
SCSS
$custom: #cfaefc;
$custom-light: #dec6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaefc",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 252
  },
  "hsl": {
    "h": 265.385,
    "s": 92.857,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80719,
    "c": 0.11298,
    "h": 303.4
  },
  "luminance": 0.50566
}

Semantic roles & 50–950 ramp

primary
#CFAEFC
secondary
#B0E06E
accent
#E60084
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEFC

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

Preview Lab → · Contrast checker → · Palette generator →

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