#CF7BF0#CF7BF0

#CF7BF0 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.183 H 315.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CF7BF0
RGBrgb(207, 123, 240)
HSLhsl(283, 80%, 71%)
HSVhsv(283, 49%, 94%)
CMYKcmyk(13.7%, 48.7%, 0%, 5.9%)
CIE-LABlab(64.74, 51.63, -45.93)
CIE-LCHlch(64.74, 69.10, 318.35°)
OKLaboklab(71.75% 0.131 -0.1276)
OKLCHoklch(71.75% 0.183 315.7)
XYZxyz(48.5409, 33.7240, 86.3736)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BF0 #9CF07B
analogous
#947BF0 #CF7BF0 #F07BD6
triadic
#CF7BF0 #F0CF7B #7BF0CF
tetradic
#CF7BF0 #F0947B #9CF07B #7BD6F0
square
#CF7BF0 #F0947B #9CF07B #7BD6F0
split-complementary
#CF7BF0 #D6F07B #7BF094
monochromatic
#A219D8 #BB44EA #CF7BF0 #E3B2F6 #F5E4FC

Accessibility & contrast

On white

2.71
#CF7BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CF7BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BF0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BF0#FFFFFF#000000##000000
##CF7BF01.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#CD8CAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7bf0;
/* rgb */ color: rgb(207, 123, 240);
/* oklch */ color: oklch(71.7% 0.183 315.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4f5',
    500: '#cf7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bf0;
$custom-light: #e0a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bf0",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 283.077,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71747,
    "c": 0.18291,
    "h": 315.7
  },
  "luminance": 0.33723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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