#CF7DF0#CF7DF0

#CF7DF0 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.180 H 315.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CF7DF0
RGBrgb(207, 125, 240)
HSLhsl(283, 79%, 72%)
HSVhsv(283, 48%, 94%)
CMYKcmyk(13.7%, 47.9%, 0%, 5.9%)
CIE-LABlab(65.14, 50.60, -45.30)
CIE-LCHlch(65.14, 67.92, 318.16°)
OKLaboklab(72.04% 0.1283 -0.1258)
OKLCHoklch(72.04% 0.18 315.6)
XYZxyz(48.7915, 34.2253, 86.4571)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DF0 #9EF07D
analogous
#967DF0 #CF7DF0 #F07DD7
triadic
#CF7DF0 #F0CF7D #7DF0CF
tetradic
#CF7DF0 #F0967D #9EF07D #7DD7F0
square
#CF7DF0 #F0967D #9EF07D #7DD7F0
split-complementary
#CF7DF0 #D7F07D #7DF096
monochromatic
#A219DA #BB46EA #CF7DF0 #E3B4F6 #F5E4FC

Accessibility & contrast

On white

2.68
#CF7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CF7DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DF0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DF0#FFFFFF#000000##000000
##CF7DF01.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#CD8EAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7df0;
/* rgb */ color: rgb(207, 125, 240);
/* oklch */ color: oklch(72.0% 0.180 315.6);
Tailwind
colors: {
  custom: {
    50: '#e0a5f5',
    500: '#cf7df0',
    950: '#000000',
  },
}
SCSS
$custom: #cf7df0;
$custom-light: #e0a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7df0",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 282.783,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.17971,
    "h": 315.6
  },
  "luminance": 0.34224
}

Semantic roles & 50–950 ramp

primary
#CF7DF0
secondary
#DEF3D6
accent
#DC0A46
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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