#CFA2F2#CFA2F2

#CFA2F2 is a light, vivid violet. Relative luminance 0.455; OKLCH L 78.2% C 0.120 H 309.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CFA2F2
RGBrgb(207, 162, 242)
HSLhsl(274, 75%, 79%)
HSVhsv(274, 33%, 95%)
CMYKcmyk(14.5%, 33.1%, 0%, 5.1%)
CIE-LABlab(73.23, 31.22, -33.78)
CIE-LCHlch(73.23, 45.99, 312.75°)
OKLaboklab(78.16% 0.0767 -0.0929)
OKLCHoklch(78.16% 0.12 309.5)
XYZxyz(54.6766, 45.5175, 89.8925)
Luminance0.4552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2F2 #C5F2A2
analogous
#A7A2F2 #CFA2F2 #F2A2ED
triadic
#CFA2F2 #F2CFA2 #A2F2CF
tetradic
#CFA2F2 #F2A7A2 #C5F2A2 #A2EDF2
square
#CFA2F2 #F2A7A2 #C5F2A2 #A2EDF2
split-complementary
#CFA2F2 #EDF2A2 #A2F2A7
monochromatic
#9837E3 #B36CEA #CFA2F2 #EBD8FA #F1E4FB

Accessibility & contrast

On white

2.08
#CFA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CFA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2F2
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2F2#FFFFFF#000000##000000
##CFA2F21.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B2F5
Deuteranopia (green-blind)
#9DB5F0
Tritanopia (blue-blind)
#CBADBF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa2f2;
/* rgb */ color: rgb(207, 162, 242);
/* oklch */ color: oklch(78.2% 0.120 309.5);
Tailwind
colors: {
  custom: {
    50: '#debef6',
    500: '#cfa2f2',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2f2;
$custom-light: #debef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2f2",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 273.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7816,
    "c": 0.12046,
    "h": 309.5
  },
  "luminance": 0.45517
}

Semantic roles & 50–950 ramp

primary
#CFA2F2
secondary
#E4F3D8
accent
#D80E66
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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