#CD7CF4#CD7CF4

#CD7CF4 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.185 H 313.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF4
RGBrgb(205, 124, 244)
HSLhsl(281, 85%, 72%)
HSVhsv(281, 49%, 96%)
CMYKcmyk(16%, 49.2%, 0%, 4.3%)
CIE-LABlab(64.90, 51.40, -47.89)
CIE-LCHlch(64.90, 70.26, 317.02°)
OKLaboklab(71.88% 0.1278 -0.1334)
OKLCHoklch(71.88% 0.185 313.8)
XYZxyz(48.7109, 33.9273, 89.5530)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF4 #A3F47C
analogous
#917CF4 #CD7CF4 #F47CDF
triadic
#CD7CF4 #F4CD7C #7CF4CD
tetradic
#CD7CF4 #F4917C #A3F47C #7CDFF4
square
#CD7CF4 #F4917C #A3F47C #7CDFF4
split-complementary
#CD7CF4 #DFF47C #7CF491
monochromatic
#9F13E3 #B744EF #CD7CF4 #E3B4F9 #F4E3FD

Accessibility & contrast

On white

2.70
#CD7CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CD7CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF4#FFFFFF#000000##000000
##CD7CF41.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#CA8FAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7cf4;
/* rgb */ color: rgb(205, 124, 244);
/* oklch */ color: oklch(71.9% 0.185 313.8);
Tailwind
colors: {
  custom: {
    50: '#dea4f8',
    500: '#cd7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf4;
$custom-light: #dea4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf4",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 280.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.18472,
    "h": 313.8
  },
  "luminance": 0.33926
}

Semantic roles & 50–950 ramp

primary
#CD7CF4
secondary
#E0F5D6
accent
#E1054C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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