#CFA2FB#CFA2FB

#CFA2FB is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.6% C 0.131 H 306.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CFA2FB
RGBrgb(207, 162, 251)
HSLhsl(270, 92%, 81%)
HSVhsv(270, 35%, 98%)
CMYKcmyk(17.5%, 35.5%, 0%, 1.6%)
CIE-LABlab(73.59, 33.15, -38.10)
CIE-LCHlch(73.59, 50.50, 311.03°)
OKLaboklab(78.55% 0.0788 -0.1053)
OKLCHoklch(78.55% 0.131 306.8)
XYZxyz(56.0617, 46.0715, 97.1874)
Luminance0.4607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2FB #CEFBA2
analogous
#A2A2FB #CFA2FB #FBA2FB
triadic
#CFA2FB #FBCFA2 #A2FBCF
tetradic
#CFA2FB #FBA2A2 #CEFBA2 #A2FBFB
square
#CFA2FB #FBA2A2 #CEFBA2 #A2FBFB
split-complementary
#CFA2FB #FBFBA2 #A2FBA2
monochromatic
#922DF6 #B167F8 #CFA2FB #EDDDFE #F0E2FE

Accessibility & contrast

On white

2.06
#CFA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CFA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2FB
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2FB#FFFFFF#000000##000000
##CFA2FB1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FE
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#C9AFC3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa2fb;
/* rgb */ color: rgb(207, 162, 251);
/* oklch */ color: oklch(78.6% 0.131 306.8);
Tailwind
colors: {
  custom: {
    50: '#dfbefd',
    500: '#cfa2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2fb;
$custom-light: #dfbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2fb",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 270.337,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78553,
    "c": 0.13147,
    "h": 306.8
  },
  "luminance": 0.46071
}

Semantic roles & 50–950 ramp

primary
#CFA2FB
secondary
#E5F6D5
accent
#E60071
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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