#CF7FEB#CF7FEB

#CF7FEB is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.171 H 316.8°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CF7FEB
RGBrgb(207, 127, 235)
HSLhsl(284, 73%, 71%)
HSVhsv(284, 46%, 92%)
CMYKcmyk(11.9%, 46%, 0%, 7.8%)
CIE-LABlab(65.31, 48.55, -42.27)
CIE-LCHlch(65.31, 64.38, 318.96°)
OKLaboklab(72.1% 0.1249 -0.1171)
OKLCHoklch(72.1% 0.171 316.8)
XYZxyz(48.3147, 34.4438, 82.6844)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FEB #9BEB7F
analogous
#997FEB #CF7FEB #EB7FD1
triadic
#CF7FEB #EBCF7F #7FEBCF
tetradic
#CF7FEB #EB997F #9BEB7F #7FD1EB
square
#CF7FEB #EB997F #9BEB7F #7FD1EB
split-complementary
#CF7FEB #D1EB7F #7FEB99
monochromatic
#A220CF #BB4AE3 #CF7FEB #E3B4F3 #F5E5FB

Accessibility & contrast

On white

2.66
#CF7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CF7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FEB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FEB#FFFFFF#000000##000000
##CF7FEB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#CE8EAA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7feb;
/* rgb */ color: rgb(207, 127, 235);
/* oklch */ color: oklch(72.1% 0.171 316.8);
Tailwind
colors: {
  custom: {
    50: '#dfa6f2',
    500: '#cf7feb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7feb;
$custom-light: #dfa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7feb",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 284.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72095,
    "c": 0.17116,
    "h": 316.8
  },
  "luminance": 0.34442
}

Semantic roles & 50–950 ramp

primary
#CF7FEB
secondary
#DCF1D5
accent
#D51043
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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