#CFAFF5#CFAFF5

#CFAFF5 is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.6% C 0.102 H 305.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CFAFF5
RGBrgb(207, 175, 245)
HSLhsl(267, 78%, 82%)
HSVhsv(267, 29%, 96%)
CMYKcmyk(15.5%, 28.6%, 0%, 3.9%)
CIE-LABlab(76.39, 24.76, -30.53)
CIE-LCHlch(76.39, 39.31, 309.04°)
OKLaboklab(80.61% 0.0589 -0.0838)
OKLCHoklch(80.61% 0.102 305.1)
XYZxyz(57.5403, 50.5181, 93.0881)
Luminance0.5052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF5 #D5F5AF
analogous
#AFB2F5 #CFAFF5 #F2AFF5
triadic
#CFAFF5 #F5CFAF #AFF5CF
tetradic
#CFAFF5 #F5AFB2 #D5F5AF #AFF5F2
square
#CFAFF5 #F5AFB2 #D5F5AF #AFF5F2
split-complementary
#CFAFF5 #F5F2AF #B2F5AF
monochromatic
#8E42E7 #AE79EE #CFAFF5 #EFE4FC #EFE4FC

Accessibility & contrast

On white

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

On black

11.10
#CFAFF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF5
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF5#FFFFFF#000000##000000
##CFAFF51.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BBF8
Deuteranopia (green-blind)
#A8BDF3
Tritanopia (blue-blind)
#C9B9C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaff5;
/* rgb */ color: rgb(207, 175, 245);
/* oklch */ color: oklch(80.6% 0.102 305.1);
Tailwind
colors: {
  custom: {
    50: '#dec7f8',
    500: '#cfaff5',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff5;
$custom-light: #dec7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff5",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 245
  },
  "hsl": {
    "h": 267.429,
    "s": 77.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80609,
    "c": 0.1024,
    "h": 305.1
  },
  "luminance": 0.50518
}

Semantic roles & 50–950 ramp

primary
#CFAFF5
secondary
#A8D673
accent
#DA0B7C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF5

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

Preview Lab → · Contrast checker → · Palette generator →

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