#CFA2FF#CFA2FF

#CFA2FF is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.7% C 0.136 H 305.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CFA2FF
RGBrgb(207, 162, 255)
HSLhsl(269, 100%, 82%)
HSVhsv(269, 36%, 100%)
CMYKcmyk(18.8%, 36.5%, 0%, 0%)
CIE-LABlab(73.76, 34.02, -40.00)
CIE-LCHlch(73.76, 52.51, 310.38°)
OKLaboklab(78.73% 0.0796 -0.1107)
OKLCHoklch(78.73% 0.136 305.7)
XYZxyz(56.6989, 46.3264, 100.5433)
Luminance0.4633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2FF #D2FFA2
analogous
#A2A4FF #CFA2FF #FDA2FF
triadic
#CFA2FF #FFCFA2 #A2FFCF
tetradic
#CFA2FF #FFA2A4 #D2FFA2 #A2FFFD
square
#CFA2FF #FFA2A4 #D2FFA2 #A2FFFD
split-complementary
#CFA2FF #FFFDA2 #A4FFA2
monochromatic
#9028FF #AF65FF #CFA2FF #EFDFFF #EFE0FF

Accessibility & contrast

On white

2.05
#CFA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CFA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2FF
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2FF#FFFFFF#000000##000000
##CFA2FF1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB4FF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#C8B0C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa2ff;
/* rgb */ color: rgb(207, 162, 255);
/* oklch */ color: oklch(78.7% 0.136 305.7);
Tailwind
colors: {
  custom: {
    50: '#dfbeff',
    500: '#cfa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2ff;
$custom-light: #dfbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2ff",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 269.032,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78732,
    "c": 0.1364,
    "h": 305.7
  },
  "luminance": 0.46326
}

Semantic roles & 50–950 ramp

primary
#CFA2FF
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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