#CF7FEF#CF7FEF

#CF7FEF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.175 H 315.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CF7FEF
RGBrgb(207, 127, 239)
HSLhsl(283, 78%, 72%)
HSVhsv(283, 47%, 94%)
CMYKcmyk(13.4%, 46.9%, 0%, 6.3%)
CIE-LABlab(65.50, 49.36, -44.19)
CIE-LCHlch(65.50, 66.25, 318.16°)
OKLaboklab(72.29% 0.1254 -0.1226)
OKLCHoklch(72.29% 0.175 315.6)
XYZxyz(48.8991, 34.6775, 85.7622)
Luminance0.3468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FEF #9FEF7F
analogous
#977FEF #CF7FEF #EF7FD7
triadic
#CF7FEF #EFCF7F #7FEFCF
tetradic
#CF7FEF #EF977F #9FEF7F #7FD7EF
square
#CF7FEF #EF977F #9FEF7F #7FD7EF
split-complementary
#CF7FEF #D7EF7F #7FEF97
monochromatic
#A21BD9 #BB49E8 #CF7FEF #E3B5F6 #F5E4FC

Accessibility & contrast

On white

2.65
#CF7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CF7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FEF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FEF#FFFFFF#000000##000000
##CF7FEF1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#80A1EC
Tritanopia (blue-blind)
#CD8FAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7fef;
/* rgb */ color: rgb(207, 127, 239);
/* oklch */ color: oklch(72.3% 0.175 315.6);
Tailwind
colors: {
  custom: {
    50: '#e0a6f4',
    500: '#cf7fef',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fef;
$custom-light: #e0a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fef",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 282.857,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.17542,
    "h": 315.6
  },
  "luminance": 0.34676
}

Semantic roles & 50–950 ramp

primary
#CF7FEF
secondary
#DFF3D7
accent
#DA0B46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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