#CD7CF3#CD7CF3

#CD7CF3 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.184 H 314.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF3
RGBrgb(205, 124, 243)
HSLhsl(281, 83%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.6%, 49%, 0%, 4.7%)
CIE-LABlab(64.86, 51.19, -47.42)
CIE-LCHlch(64.86, 69.78, 317.19°)
OKLaboklab(71.83% 0.1277 -0.132)
OKLCHoklch(71.83% 0.184 314)
XYZxyz(48.5595, 33.8668, 88.7556)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF3 #A2F37C
analogous
#927CF3 #CD7CF3 #F37CDE
triadic
#CD7CF3 #F3CD7C #7CF3CD
tetradic
#CD7CF3 #F3927C #A2F37C #7CDEF3
square
#CD7CF3 #F3927C #A2F37C #7CDEF3
split-complementary
#CD7CF3 #DEF37C #7CF392
monochromatic
#9F15E0 #B844EE #CD7CF3 #E2B4F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.77
#CD7CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF3#FFFFFF#000000##000000
##CD7CF31.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#7A9FF0
Tritanopia (blue-blind)
#CA8EAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7cf3;
/* rgb */ color: rgb(205, 124, 243);
/* oklch */ color: oklch(71.8% 0.184 314.0);
Tailwind
colors: {
  custom: {
    50: '#dea4f7',
    500: '#cd7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf3;
$custom-light: #dea4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf3",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 280.84,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.18365,
    "h": 314
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#CD7CF3
secondary
#E0F4D6
accent
#E0064B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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