#CFAEFE#CFAEFE

#CFAEFE is a light, moderate violet. Relative luminance 0.507; OKLCH L 80.8% C 0.116 H 302.8°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CFAEFE
RGBrgb(207, 174, 254)
HSLhsl(265, 98%, 84%)
HSVhsv(265, 31%, 100%)
CMYKcmyk(18.5%, 31.5%, 0%, 0.4%)
CIE-LABlab(76.49, 27.25, -35.22)
CIE-LCHlch(76.49, 44.53, 307.73°)
OKLaboklab(80.8% 0.0626 -0.0971)
OKLCHoklch(80.8% 0.116 302.8)
XYZxyz(58.7539, 50.6933, 100.4362)
Luminance0.5069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEFE #DDFEAE
analogous
#AEB5FE #CFAEFE #F7AEFE
triadic
#CFAEFE #FECFAE #AEFECF
tetradic
#CFAEFE #FEAEB5 #DDFEAE #AEFEF7
square
#CFAEFE #FEAEB5 #DDFEAE #AEFEF7
split-complementary
#CFAEFE #FEF7AE #B5FEAE
monochromatic
#8735FD #AB72FD #CFAEFE #EDE1FF #EDE1FF

Accessibility & contrast

On white

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

On black

11.14
#CFAEFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEFE
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEFE#FFFFFF#000000##000000
##CFAEFE1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBCFF
Deuteranopia (green-blind)
#A3BDFC
Tritanopia (blue-blind)
#C7BACB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaefe;
/* rgb */ color: rgb(207, 174, 254);
/* oklch */ color: oklch(80.8% 0.116 302.8);
Tailwind
colors: {
  custom: {
    50: '#dec6ff',
    500: '#cfaefe',
    950: '#000000',
  },
}
SCSS
$custom: #cfaefe;
$custom-light: #dec6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaefe",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 254
  },
  "hsl": {
    "h": 264.75,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.80804,
    "c": 0.11554,
    "h": 302.8
  },
  "luminance": 0.50693
}

Semantic roles & 50–950 ramp

primary
#CFAEFE
secondary
#B2E36D
accent
#E60087
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFAEFE

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

Preview Lab → · Contrast checker → · Palette generator →

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