#CF9EFD#CF9EFD

#CF9EFD is a light, vivid violet. Relative luminance 0.448; OKLCH L 78.0% C 0.141 H 307.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CF9EFD
RGBrgb(207, 158, 253)
HSLhsl(271, 96%, 81%)
HSVhsv(271, 38%, 99%)
CMYKcmyk(18.2%, 37.5%, 0%, 0.8%)
CIE-LABlab(72.77, 35.76, -40.46)
CIE-LCHlch(72.77, 54.00, 311.47°)
OKLaboklab(77.95% 0.0848 -0.112)
OKLCHoklch(77.95% 0.141 307.1)
XYZxyz(55.6852, 44.8114, 98.6254)
Luminance0.4481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EFD #CCFD9E
analogous
#9F9EFD #CF9EFD #FD9EFC
triadic
#CF9EFD #FDCF9E #9EFDCF
tetradic
#CF9EFD #FD9F9E #CCFD9E #9EFCFD
square
#CF9EFD #FD9F9E #CCFD9E #9EFCFD
split-complementary
#CF9EFD #FCFD9E #9EFD9F
monochromatic
#9426FB #B162FC #CF9EFD #EDDAFE #F0E1FE

Accessibility & contrast

On white

2.11
#CF9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CF9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EFD
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EFD#FFFFFF#000000##000000
##CF9EFD1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#C9ACC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9efd;
/* rgb */ color: rgb(207, 158, 253);
/* oklch */ color: oklch(78.0% 0.141 307.1);
Tailwind
colors: {
  custom: {
    50: '#dfbbfe',
    500: '#cf9efd',
    950: '#000000',
  },
}
SCSS
$custom: #cf9efd;
$custom-light: #dfbbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9efd",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 270.947,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77954,
    "c": 0.14051,
    "h": 307.1
  },
  "luminance": 0.44811
}

Semantic roles & 50–950 ramp

primary
#CF9EFD
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CF9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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