#CD7FEF#CD7FEF

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

Color values

HEX#CD7FEF
RGBrgb(205, 127, 239)
HSLhsl(282, 78%, 72%)
HSVhsv(282, 47%, 94%)
CMYKcmyk(14.2%, 46.9%, 0%, 6.3%)
CIE-LABlab(65.27, 48.81, -44.56)
CIE-LCHlch(65.27, 66.09, 317.61°)
OKLaboklab(72.08% 0.1231 -0.1237)
OKLCHoklch(72.08% 0.175 314.8)
XYZxyz(48.3437, 34.3912, 85.7361)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FEF #A1EF7F
analogous
#957FEF #CD7FEF #EF7FD9
triadic
#CD7FEF #EFCD7F #7FEFCD
tetradic
#CD7FEF #EF957F #A1EF7F #7FD9EF
square
#CD7FEF #EF957F #A1EF7F #7FD9EF
split-complementary
#CD7FEF #D9EF7F #7FEF95
monochromatic
#9F1BD9 #B849E8 #CD7FEF #E2B5F6 #F4E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FEF#FFFFFF#000000##000000
##CD7FEF1.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)
#689AF3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#CB90AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7fef;
/* rgb */ color: rgb(205, 127, 239);
/* oklch */ color: oklch(72.1% 0.175 314.8);
Tailwind
colors: {
  custom: {
    50: '#dea6f4',
    500: '#cd7fef',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fef;
$custom-light: #dea6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fef",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 281.786,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.17454,
    "h": 314.8
  },
  "luminance": 0.3439
}

Semantic roles & 50–950 ramp

primary
#CD7FEF
secondary
#DFF3D7
accent
#DA0B4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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