#CFAFF2#CFAFF2

#CFAFF2 is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.5% C 0.099 H 306.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CFAFF2
RGBrgb(207, 175, 242)
HSLhsl(269, 72%, 82%)
HSVhsv(269, 28%, 95%)
CMYKcmyk(14.5%, 27.7%, 0%, 5.1%)
CIE-LABlab(76.28, 24.12, -29.08)
CIE-LCHlch(76.28, 37.78, 309.67°)
OKLaboklab(80.49% 0.0581 -0.0797)
OKLCHoklch(80.49% 0.099 306.1)
XYZxyz(57.0861, 50.3364, 90.6957)
Luminance0.5034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF2 #D2F2AF
analogous
#AFB1F2 #CFAFF2 #F1AFF2
triadic
#CFAFF2 #F2CFAF #AFF2CF
tetradic
#CFAFF2 #F2AFB1 #D2F2AF #AFF2F1
square
#CFAFF2 #F2AFB1 #D2F2AF #AFF2F1
split-complementary
#CFAFF2 #F2F1AF #B1F2AF
monochromatic
#9046E1 #AF7AE9 #CFAFF2 #EFE4FB #EFE5FB

Accessibility & contrast

On white

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

On black

11.07
#CFAFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF2
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF2#FFFFFF#000000##000000
##CFAFF21.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BBF5
Deuteranopia (green-blind)
#A9BCF0
Tritanopia (blue-blind)
#CAB8C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaff2;
/* rgb */ color: rgb(207, 175, 242);
/* oklch */ color: oklch(80.5% 0.099 306.1);
Tailwind
colors: {
  custom: {
    50: '#dec7f6',
    500: '#cfaff2',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff2;
$custom-light: #dec7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff2",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 268.657,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80487,
    "c": 0.09858,
    "h": 306.1
  },
  "luminance": 0.50336
}

Semantic roles & 50–950 ramp

primary
#CFAFF2
secondary
#A5D174
accent
#D41177
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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