#CFAFF3#CFAFF3

#CFAFF3 is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.5% C 0.100 H 305.8°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CFAFF3
RGBrgb(207, 175, 243)
HSLhsl(268, 74%, 82%)
HSVhsv(268, 28%, 95%)
CMYKcmyk(14.8%, 28%, 0%, 4.7%)
CIE-LABlab(76.31, 24.33, -29.57)
CIE-LCHlch(76.31, 38.29, 309.45°)
OKLaboklab(80.53% 0.0583 -0.081)
OKLCHoklch(80.53% 0.1 305.8)
XYZxyz(57.2367, 50.3967, 91.4889)
Luminance0.5040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF3 #D3F3AF
analogous
#AFB1F3 #CFAFF3 #F1AFF3
triadic
#CFAFF3 #F3CFAF #AFF3CF
tetradic
#CFAFF3 #F3AFB1 #D3F3AF #AFF3F1
square
#CFAFF3 #F3AFB1 #D3F3AF #AFF3F1
split-complementary
#CFAFF3 #F3F1AF #B1F3AF
monochromatic
#8F45E3 #AF7AEB #CFAFF3 #EFE4FB #EFE4FB

Accessibility & contrast

On white

1.90
#CFAFF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#CFAFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF3
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF3#FFFFFF#000000##000000
##CFAFF31.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BBF6
Deuteranopia (green-blind)
#A8BCF1
Tritanopia (blue-blind)
#CAB9C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaff3;
/* rgb */ color: rgb(207, 175, 243);
/* oklch */ color: oklch(80.5% 0.100 305.8);
Tailwind
colors: {
  custom: {
    50: '#dec7f7',
    500: '#cfaff3',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff3;
$custom-light: #dec7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff3",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 268.235,
    "s": 73.913,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80528,
    "c": 0.09985,
    "h": 305.8
  },
  "luminance": 0.50396
}

Semantic roles & 50–950 ramp

primary
#CFAFF3
secondary
#A6D374
accent
#D60F79
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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