#CFA5FC#CFA5FC

#CFA5FC is a light, vivid violet. Relative luminance 0.472; OKLCH L 79.1% C 0.128 H 305.8°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CFA5FC
RGBrgb(207, 165, 252)
HSLhsl(269, 94%, 82%)
HSVhsv(269, 35%, 99%)
CMYKcmyk(17.9%, 34.5%, 0%, 1.2%)
CIE-LABlab(74.32, 31.73, -37.51)
CIE-LCHlch(74.32, 49.13, 310.23°)
OKLaboklab(79.12% 0.0748 -0.1036)
OKLCHoklch(79.12% 0.128 305.8)
XYZxyz(56.7545, 47.2043, 98.1980)
Luminance0.4720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5FC #D2FCA5
analogous
#A5A7FC #CFA5FC #FBA5FC
triadic
#CFA5FC #FCCFA5 #A5FCCF
tetradic
#CFA5FC #FCA5A7 #D2FCA5 #A5FCFB
square
#CFA5FC #FCA5A7 #D2FCA5 #A5FCFB
split-complementary
#CFA5FC #FCFBA5 #A7FCA5
monochromatic
#902FF8 #AF6AFA #CFA5FC #EFE0FE #EFE1FE

Accessibility & contrast

On white

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

On black

10.44
#CFA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5FC
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5FC#FFFFFF#000000##000000
##CFA5FC1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FF
Deuteranopia (green-blind)
#9CB7FA
Tritanopia (blue-blind)
#C8B2C5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa5fc;
/* rgb */ color: rgb(207, 165, 252);
/* oklch */ color: oklch(79.1% 0.128 305.8);
Tailwind
colors: {
  custom: {
    50: '#dfc0fd',
    500: '#cfa5fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5fc;
$custom-light: #dfc0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5fc",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 268.966,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.7912,
    "c": 0.12776,
    "h": 305.8
  },
  "luminance": 0.47204
}

Semantic roles & 50–950 ramp

primary
#CFA5FC
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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