#CF7CF9#CF7CF9

#CF7CF9 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.191 H 313.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CF7CF9
RGBrgb(207, 124, 249)
HSLhsl(280, 91%, 73%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.9%, 50.2%, 0%, 2.4%)
CIE-LABlab(65.37, 52.97, -49.89)
CIE-LCHlch(65.37, 72.77, 316.72°)
OKLaboklab(72.36% 0.1307 -0.1391)
OKLCHoklch(72.36% 0.191 313.2)
XYZxyz(50.0358, 34.5215, 93.6317)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CF9 #A6F97C
analogous
#907CF9 #CF7CF9 #F97CE4
triadic
#CF7CF9 #F9CF7C #7CF9CF
tetradic
#CF7CF9 #F9907C #A6F97C #7CE4F9
square
#CF7CF9 #F9907C #A6F97C #7CE4F9
split-complementary
#CF7CF9 #E4F97C #7CF990
monochromatic
#A30BF0 #BA41F6 #CF7CF9 #E4B7FC #F4E2FE

Accessibility & contrast

On white

2.66
#CF7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CF7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CF9
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CF9#FFFFFF#000000##000000
##CF7CF91.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#CB90AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7cf9;
/* rgb */ color: rgb(207, 124, 249);
/* oklch */ color: oklch(72.4% 0.191 313.2);
Tailwind
colors: {
  custom: {
    50: '#e0a4fc',
    500: '#cf7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cf9;
$custom-light: #e0a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cf9",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 279.84,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72356,
    "c": 0.19088,
    "h": 313.2
  },
  "luminance": 0.3452
}

Semantic roles & 50–950 ramp

primary
#CF7CF9
secondary
#E0F6D5
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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