#CF9CFA#CF9CFA

#CF9CFA is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.5% C 0.140 H 308.4°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CF9CFA
RGBrgb(207, 156, 250)
HSLhsl(273, 90%, 80%)
HSVhsv(273, 38%, 98%)
CMYKcmyk(17.2%, 37.6%, 0%, 2%)
CIE-LABlab(72.19, 36.20, -39.73)
CIE-LCHlch(72.19, 53.75, 312.33°)
OKLaboklab(77.48% 0.087 -0.1099)
OKLCHoklch(77.48% 0.14 308.4)
XYZxyz(54.8727, 43.9450, 96.0155)
Luminance0.4394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CFA #C7FA9C
analogous
#A09CFA #CF9CFA #FA9CF6
triadic
#CF9CFA #FACF9C #9CFACF
tetradic
#CF9CFA #FAA09C #C7FA9C #9CF6FA
square
#CF9CFA #FAA09C #C7FA9C #9CF6FA
split-complementary
#CF9CFA #F6FA9C #9CFAA0
monochromatic
#9727F4 #B362F7 #CF9CFA #EBD6FD #F1E2FE

Accessibility & contrast

On white

2.15
#CF9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CF9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CFA
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CFA#FFFFFF#000000##000000
##CF9CFA1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#94B2F7
Tritanopia (blue-blind)
#C9AABF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9cfa;
/* rgb */ color: rgb(207, 156, 250);
/* oklch */ color: oklch(77.5% 0.140 308.4);
Tailwind
colors: {
  custom: {
    50: '#dfbafc',
    500: '#cf9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cfa;
$custom-light: #dfbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cfa",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 272.553,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77477,
    "c": 0.14018,
    "h": 308.4
  },
  "luminance": 0.43944
}

Semantic roles & 50–950 ramp

primary
#CF9CFA
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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