#CD7FF4#CD7FF4

#CD7FF4 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.180 H 313.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CD7FF4
RGBrgb(205, 127, 244)
HSLhsl(280, 84%, 73%)
HSVhsv(280, 48%, 96%)
CMYKcmyk(16%, 48%, 0%, 4.3%)
CIE-LABlab(65.51, 49.85, -46.95)
CIE-LCHlch(65.51, 68.47, 316.72°)
OKLaboklab(72.33% 0.1238 -0.1306)
OKLCHoklch(72.33% 0.18 313.4)
XYZxyz(49.0926, 34.6907, 89.6803)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF4 #A6F47F
analogous
#927FF4 #CD7FF4 #F47FE1
triadic
#CD7FF4 #F4CD7F #7FF4CD
tetradic
#CD7FF4 #F4927F #A6F47F #7FE1F4
square
#CD7FF4 #F4927F #A6F47F #7FE1F4
split-complementary
#CD7FF4 #E1F47F #7FF492
monochromatic
#9F14E5 #B747EF #CD7FF4 #E3B7F9 #F4E3FD

Accessibility & contrast

On white

2.65
#CD7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CD7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FF4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FF4#FFFFFF#000000##000000
##CD7FF41.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF8
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#CA91AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ff4;
/* rgb */ color: rgb(205, 127, 244);
/* oklch */ color: oklch(72.3% 0.180 313.4);
Tailwind
colors: {
  custom: {
    50: '#dea6f8',
    500: '#cd7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff4;
$custom-light: #dea6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff4",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 280,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72327,
    "c": 0.17995,
    "h": 313.4
  },
  "luminance": 0.3469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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