#CF7FF4#CF7FF4

#CF7FF4 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.181 H 314.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CF7FF4
RGBrgb(207, 127, 244)
HSLhsl(281, 84%, 73%)
HSVhsv(281, 48%, 96%)
CMYKcmyk(15.2%, 48%, 0%, 4.3%)
CIE-LABlab(65.73, 50.39, -46.58)
CIE-LCHlch(65.73, 68.62, 317.25°)
OKLaboklab(72.54% 0.1261 -0.1295)
OKLCHoklch(72.54% 0.181 314.2)
XYZxyz(49.6480, 34.9771, 89.7063)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FF4 #A4F47F
analogous
#957FF4 #CF7FF4 #F47FDE
triadic
#CF7FF4 #F4CF7F #7FF4CF
tetradic
#CF7FF4 #F4957F #A4F47F #7FDEF4
square
#CF7FF4 #F4957F #A4F47F #7FDEF4
split-complementary
#CF7FF4 #DEF47F #7FF495
monochromatic
#A314E5 #BA47EF #CF7FF4 #E4B7F9 #F4E3FD

Accessibility & contrast

On white

2.63
#CF7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CF7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FF4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FF4#FFFFFF#000000##000000
##CF7FF41.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#7DA2F1
Tritanopia (blue-blind)
#CC91AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7ff4;
/* rgb */ color: rgb(207, 127, 244);
/* oklch */ color: oklch(72.5% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#e0a6f8',
    500: '#cf7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ff4;
$custom-light: #e0a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ff4",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 281.026,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72542,
    "c": 0.18078,
    "h": 314.2
  },
  "luminance": 0.34976
}

Semantic roles & 50–950 ramp

primary
#CF7FF4
secondary
#E0F5D6
accent
#E1054A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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