#CFA8EB#CFA8EB

#CFA8EB is a light, moderate violet. Relative luminance 0.473; OKLCH L 78.9% C 0.102 H 310.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CFA8EB
RGBrgb(207, 168, 235)
HSLhsl(275, 63%, 79%)
HSVhsv(275, 29%, 92%)
CMYKcmyk(11.9%, 28.5%, 0%, 7.8%)
CIE-LABlab(74.36, 26.48, -28.23)
CIE-LCHlch(74.36, 38.70, 313.16°)
OKLaboklab(78.94% 0.0662 -0.0772)
OKLCHoklch(78.94% 0.102 310.6)
XYZxyz(54.7275, 47.2694, 84.8220)
Luminance0.4727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA8EB #C4EBA8
analogous
#AEA8EB #CFA8EB #EBA8E6
triadic
#CFA8EB #EBCFA8 #A8EBCF
tetradic
#CFA8EB #EBAEA8 #C4EBA8 #A8E6EB
square
#CFA8EB #EBAEA8 #C4EBA8 #A8E6EB
split-complementary
#CFA8EB #E6EBA8 #A8EBAE
monochromatic
#9844D4 #B476E0 #CFA8EB #EADAF6 #F1E6F9

Accessibility & contrast

On white

2.01
#CFA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#CFA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA8EB
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA8EB#FFFFFF#000000##000000
##CFA8EB1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5EE
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#CCB1C0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa8eb;
/* rgb */ color: rgb(207, 168, 235);
/* oklch */ color: oklch(78.9% 0.102 310.6);
Tailwind
colors: {
  custom: {
    50: '#dec2f1',
    500: '#cfa8eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa8eb;
$custom-light: #dec2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa8eb",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 274.925,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78935,
    "c": 0.10171,
    "h": 310.6
  },
  "luminance": 0.47269
}

Semantic roles & 50–950 ramp

primary
#CFA8EB
secondary
#E4F1DA
accent
#CA1B64
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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