#CF9FFA#CF9FFA

#CF9FFA is a light, vivid violet. Relative luminance 0.450; OKLCH L 78.0% C 0.135 H 307.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CF9FFA
RGBrgb(207, 159, 250)
HSLhsl(272, 90%, 80%)
HSVhsv(272, 36%, 98%)
CMYKcmyk(17.2%, 36.4%, 0%, 2%)
CIE-LABlab(72.87, 34.57, -38.68)
CIE-LCHlch(72.87, 51.88, 311.78°)
OKLaboklab(77.99% 0.0828 -0.1069)
OKLCHoklch(77.99% 0.135 307.7)
XYZxyz(55.3823, 44.9643, 96.1853)
Luminance0.4496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FFA #CAFA9F
analogous
#A19FFA #CF9FFA #FA9FF8
triadic
#CF9FFA #FACF9F #9FFACF
tetradic
#CF9FFA #FAA19F #CAFA9F #9FF8FA
square
#CF9FFA #FAA19F #CAFA9F #9FF8FA
split-complementary
#CF9FFA #F8FA9F #9FFAA1
monochromatic
#952BF4 #B265F7 #CF9FFA #ECD9FD #F0E2FD

Accessibility & contrast

On white

2.10
#CF9FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CF9FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FFA
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FFA#FFFFFF#000000##000000
##CF9FFA1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FD
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#C9ACC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9ffa;
/* rgb */ color: rgb(207, 159, 250);
/* oklch */ color: oklch(78.0% 0.135 307.7);
Tailwind
colors: {
  custom: {
    50: '#dfbcfc',
    500: '#cf9ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ffa;
$custom-light: #dfbcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ffa",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 271.648,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.7799,
    "c": 0.13521,
    "h": 307.7
  },
  "luminance": 0.44964
}

Semantic roles & 50–950 ramp

primary
#CF9FFA
secondary
#E5F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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