#CF7CF7#CF7CF7

#CF7CF7 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.189 H 313.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CF7CF7
RGBrgb(207, 124, 247)
HSLhsl(280, 88%, 73%)
HSVhsv(280, 50%, 97%)
CMYKcmyk(16.2%, 49.8%, 0%, 3.1%)
CIE-LABlab(65.28, 52.56, -48.94)
CIE-LCHlch(65.28, 71.82, 317.04°)
OKLaboklab(72.25% 0.1305 -0.1364)
OKLCHoklch(72.25% 0.189 313.7)
XYZxyz(49.7255, 34.3974, 91.9976)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CF7 #A4F77C
analogous
#927CF7 #CF7CF7 #F77CE1
triadic
#CF7CF7 #F7CF7C #7CF7CF
tetradic
#CF7CF7 #F7927C #A4F77C #7CE1F7
square
#CF7CF7 #F7927C #A4F77C #7CE1F7
split-complementary
#CF7CF7 #E1F77C #7CF792
monochromatic
#A30EEA #BA42F3 #CF7CF7 #E4B6FB #F4E2FD

Accessibility & contrast

On white

2.67
#CF7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CF7CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CF7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CF7#FFFFFF#000000##000000
##CF7CF71.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#CC8FAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7cf7;
/* rgb */ color: rgb(207, 124, 247);
/* oklch */ color: oklch(72.3% 0.189 313.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4fa',
    500: '#cf7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cf7;
$custom-light: #e0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cf7",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 280.488,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72252,
    "c": 0.18874,
    "h": 313.7
  },
  "luminance": 0.34396
}

Semantic roles & 50–950 ramp

primary
#CF7CF7
secondary
#E0F5D6
accent
#E5004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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