#CF7FF2#CF7FF2

#CF7FF2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.4% C 0.179 H 314.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CF7FF2
RGBrgb(207, 127, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14.5%, 47.5%, 0%, 5.1%)
CIE-LABlab(65.64, 49.98, -45.63)
CIE-LCHlch(65.64, 67.67, 317.61°)
OKLaboklab(72.44% 0.1258 -0.1268)
OKLCHoklch(72.44% 0.179 314.8)
XYZxyz(49.3460, 34.8563, 88.1157)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FF2 #A2F27F
analogous
#967FF2 #CF7FF2 #F27FDC
triadic
#CF7FF2 #F2CF7F #7FF2CF
tetradic
#CF7FF2 #F2967F #A2F27F #7FDCF2
square
#CF7FF2 #F2967F #A2F27F #7FDCF2
split-complementary
#CF7FF2 #DCF27F #7FF296
monochromatic
#A317E0 #BA47EC #CF7FF2 #E4B7F8 #F5E3FC

Accessibility & contrast

On white

2.63
#CF7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CF7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FF2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FF2#FFFFFF#000000##000000
##CF7FF21.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#CD90AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ff2;
/* rgb */ color: rgb(207, 127, 242);
/* oklch */ color: oklch(72.4% 0.179 314.8);
Tailwind
colors: {
  custom: {
    50: '#e0a6f7',
    500: '#cf7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ff2;
$custom-light: #e0a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ff2",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 281.739,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72441,
    "c": 0.17863,
    "h": 314.8
  },
  "luminance": 0.34855
}

Semantic roles & 50–950 ramp

primary
#CF7FF2
secondary
#E0F4D7
accent
#DE0849
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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