#CF7CF2#CF7CF2

#CF7CF2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.183 H 315.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CF7CF2
RGBrgb(207, 124, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 49%, 95%)
CMYKcmyk(14.5%, 48.8%, 0%, 5.1%)
CIE-LABlab(65.04, 51.53, -46.57)
CIE-LCHlch(65.04, 69.45, 317.89°)
OKLaboklab(72% 0.1299 -0.1295)
OKLCHoklch(72% 0.183 315.1)
XYZxyz(48.9643, 34.0929, 87.9884)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CF2 #9FF27C
analogous
#947CF2 #CF7CF2 #F27CDA
triadic
#CF7CF2 #F2CF7C #7CF2CF
tetradic
#CF7CF2 #F2947C #9FF27C #7CDAF2
square
#CF7CF2 #F2947C #9FF27C #7CDAF2
split-complementary
#CF7CF2 #DAF27C #7CF294
monochromatic
#A216DE #BB44EC #CF7CF2 #E3B4F8 #F5E3FC

Accessibility & contrast

On white

2.69
#CF7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CF7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CF2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CF2#FFFFFF#000000##000000
##CF7CF21.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#CD8EAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7cf2;
/* rgb */ color: rgb(207, 124, 242);
/* oklch */ color: oklch(72.0% 0.183 315.1);
Tailwind
colors: {
  custom: {
    50: '#e0a4f7',
    500: '#cf7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cf2;
$custom-light: #e0a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cf2",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 282.203,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71996,
    "c": 0.18342,
    "h": 315.1
  },
  "luminance": 0.34092
}

Semantic roles & 50–950 ramp

primary
#CF7CF2
secondary
#DFF4D6
accent
#DE0747
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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