#CF7CF0#CF7CF0

#CF7CF0 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.181 H 315.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CF7CF0
RGBrgb(207, 124, 240)
HSLhsl(283, 79%, 71%)
HSVhsv(283, 48%, 94%)
CMYKcmyk(13.7%, 48.3%, 0%, 5.9%)
CIE-LABlab(64.94, 51.12, -45.62)
CIE-LCHlch(64.94, 68.51, 318.25°)
OKLaboklab(71.89% 0.1296 -0.1267)
OKLCHoklch(71.89% 0.181 315.7)
XYZxyz(48.6655, 33.9734, 86.4151)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CF0 #9DF07C
analogous
#957CF0 #CF7CF0 #F07CD7
triadic
#CF7CF0 #F0CF7C #7CF0CF
tetradic
#CF7CF0 #F0957C #9DF07C #7CD7F0
square
#CF7CF0 #F0957C #9DF07C #7CD7F0
split-complementary
#CF7CF0 #D7F07C #7CF095
monochromatic
#A219D9 #BB45EA #CF7CF0 #E3B3F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.79
#CF7CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CF0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CF0#FFFFFF#000000##000000
##CF7CF01.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F4
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#CD8DAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7cf0;
/* rgb */ color: rgb(207, 124, 240);
/* oklch */ color: oklch(71.9% 0.181 315.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4f5',
    500: '#cf7cf0',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cf0;
$custom-light: #e0a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cf0",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 282.931,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71894,
    "c": 0.18131,
    "h": 315.7
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#CF7CF0
secondary
#DDF3D5
accent
#DC0A45
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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