#CF7FF9#CF7FF9

#CF7FF9 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.186 H 312.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CF7FF9
RGBrgb(207, 127, 249)
HSLhsl(279, 91%, 74%)
HSVhsv(279, 49%, 98%)
CMYKcmyk(16.9%, 49%, 0%, 2.4%)
CIE-LABlab(65.97, 51.43, -48.95)
CIE-LCHlch(65.97, 71.00, 316.42°)
OKLaboklab(72.8% 0.1267 -0.1364)
OKLCHoklch(72.8% 0.186 312.9)
XYZxyz(50.4175, 35.2849, 93.7589)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FF9 #A9F97F
analogous
#927FF9 #CF7FF9 #F97FE6
triadic
#CF7FF9 #F9CF7F #7FF9CF
tetradic
#CF7FF9 #F9927F #A9F97F #7FE6F9
square
#CF7FF9 #F9927F #A9F97F #7FE6F9
split-complementary
#CF7FF9 #E6F97F #7FF992
monochromatic
#A30BF2 #B945F6 #CF7FF9 #E5B9FC #F4E2FE

Accessibility & contrast

On white

2.61
#CF7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CF7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FF9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FF9#FFFFFF#000000##000000
##CF7FF91.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#CB92B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7ff9;
/* rgb */ color: rgb(207, 127, 249);
/* oklch */ color: oklch(72.8% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#e0a6fc',
    500: '#cf7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ff9;
$custom-light: #e0a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ff9",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 279.344,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72798,
    "c": 0.18617,
    "h": 312.9
  },
  "luminance": 0.35284
}

Semantic roles & 50–950 ramp

primary
#CF7FF9
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #CF7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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