#CF7FF1#CF7FF1

#CF7FF1 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.4% C 0.178 H 315.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CF7FF1
RGBrgb(207, 127, 241)
HSLhsl(282, 80%, 72%)
HSVhsv(282, 47%, 95%)
CMYKcmyk(14.1%, 47.3%, 0%, 5.5%)
CIE-LABlab(65.59, 49.77, -45.15)
CIE-LCHlch(65.59, 67.20, 317.79°)
OKLaboklab(72.39% 0.1257 -0.1254)
OKLCHoklch(72.39% 0.178 315.1)
XYZxyz(49.1962, 34.7964, 87.3269)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FF1 #A1F17F
analogous
#967FF1 #CF7FF1 #F17FDA
triadic
#CF7FF1 #F1CF7F #7FF1CF
tetradic
#CF7FF1 #F1967F #A1F17F #7FDAF1
square
#CF7FF1 #F1967F #A1F17F #7FDAF1
split-complementary
#CF7FF1 #DAF17F #7FF196
monochromatic
#A318DD #BA48EB #CF7FF1 #E4B6F7 #F5E3FC

Accessibility & contrast

On white

2.64
#CF7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CF7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FF1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FF1#FFFFFF#000000##000000
##CF7FF11.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF5
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#CD90AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ff1;
/* rgb */ color: rgb(207, 127, 241);
/* oklch */ color: oklch(72.4% 0.178 315.1);
Tailwind
colors: {
  custom: {
    50: '#e0a6f6',
    500: '#cf7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ff1;
$custom-light: #e0a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ff1",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 282.105,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72391,
    "c": 0.17756,
    "h": 315.1
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

primary
#CF7FF1
secondary
#E0F4D7
accent
#DD0948
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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