#CFC7FF#CFC7FF

#CFC7FF is a very light, moderate blue. Relative luminance 0.613; OKLCH L 85.5% C 0.078 H 291.2°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#CFC7FF
RGBrgb(207, 199, 255)
HSLhsl(249, 100%, 89%)
HSVhsv(249, 22%, 100%)
CMYKcmyk(18.8%, 22%, 0%, 0%)
CIE-LABlab(82.56, 13.89, -26.43)
CIE-LCHlch(82.56, 29.86, 297.72°)
OKLaboklab(85.49% 0.0281 -0.0723)
OKLCHoklch(85.49% 0.078 291.2)
XYZxyz(64.2015, 61.3316, 103.0441)
Luminance0.6133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC7FF #F7FFC7
analogous
#C7DBFF #CFC7FF #EBC7FF
triadic
#CFC7FF #FFCFC7 #C7FFCF
tetradic
#CFC7FF #FFC7DB #F7FFC7 #C7FFEB
square
#CFC7FF #FFC7DB #F7FFC7 #C7FFEB
split-complementary
#CFC7FF #FFEBC7 #DBFFC7
monochromatic
#664DFF #9B8AFF #CFC7FF #E5E0FF #E5E0FF

Accessibility & contrast

On white

1.58
#CFC7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#CFC7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC7FF
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC7FF#FFFFFF#000000##000000
##CFC7FF1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BACEFF
Deuteranopia (green-blind)
#BACCFD
Tritanopia (blue-blind)
#C5D0DA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfc7ff;
/* rgb */ color: rgb(207, 199, 255);
/* oklch */ color: oklch(85.5% 0.078 291.2);
Tailwind
colors: {
  custom: {
    50: '#ded8ff',
    500: '#cfc7ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfc7ff;
$custom-light: #ded8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc7ff",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 248.571,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.85487,
    "c": 0.07759,
    "h": 291.2
  },
  "luminance": 0.61332
}

Semantic roles & 50–950 ramp

primary
#CFC7FF
secondary
#DAE981
accent
#E600C5
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CFC7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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