#CFAFE7#CFAFE7

#CFAFE7 is a light, moderate violet. Relative luminance 0.497; OKLCH L 80.1% C 0.085 H 310.4°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE7
RGBrgb(207, 175, 231)
HSLhsl(274, 54%, 80%)
HSVhsv(274, 24%, 91%)
CMYKcmyk(10.4%, 24.2%, 0%, 9.4%)
CIE-LABlab(75.88, 21.83, -23.73)
CIE-LCHlch(75.88, 32.25, 312.61°)
OKLaboklab(80.05% 0.0549 -0.0646)
OKLCHoklch(80.05% 0.085 310.4)
XYZxyz(55.4834, 49.6954, 82.2551)
Luminance0.4970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE7 #C7E7AF
analogous
#B3AFE7 #CFAFE7 #E7AFE3
triadic
#CFAFE7 #E7CFAF #AFE7CF
tetradic
#CFAFE7 #E7B3AF #C7E7AF #AFE3E7
square
#CFAFE7 #E7B3AF #C7E7AF #AFE3E7
split-complementary
#CFAFE7 #E3E7AF #AFE7B3
monochromatic
#9751CB #B380D9 #CFAFE7 #EBDEF5 #F1E7F8

Accessibility & contrast

On white

1.92
#CFAFE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CFAFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE7
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE7#FFFFFF#000000##000000
##CFAFE71.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B9E9
Deuteranopia (green-blind)
#ADBCE5
Tritanopia (blue-blind)
#CDB6C2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafe7;
/* rgb */ color: rgb(207, 175, 231);
/* oklch */ color: oklch(80.1% 0.085 310.4);
Tailwind
colors: {
  custom: {
    50: '#dec7ee',
    500: '#cfafe7',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe7;
$custom-light: #dec7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe7",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 274.286,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80055,
    "c": 0.08477,
    "h": 310.4
  },
  "luminance": 0.49695
}

Semantic roles & 50–950 ramp

primary
#CFAFE7
secondary
#E4EFDC
accent
#C12468
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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