#CD7FF0#CD7FF0

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

Color values

HEX#CD7FF0
RGBrgb(205, 127, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 47%, 94%)
CMYKcmyk(14.6%, 47.1%, 0%, 5.9%)
CIE-LABlab(65.32, 49.02, -45.04)
CIE-LCHlch(65.32, 66.57, 317.42°)
OKLaboklab(72.13% 0.1232 -0.1251)
OKLCHoklch(72.13% 0.176 314.6)
XYZxyz(48.4919, 34.4504, 86.5163)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF0 #A2F07F
analogous
#957FF0 #CD7FF0 #F07FDB
triadic
#CD7FF0 #F0CD7F #7FF0CD
tetradic
#CD7FF0 #F0957F #A2F07F #7FDBF0
square
#CD7FF0 #F0957F #A2F07F #7FDBF0
split-complementary
#CD7FF0 #DBF07F #7FF095
monochromatic
#9F1ADB #B848EA #CD7FF0 #E2B6F6 #F4E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FF0#FFFFFF#000000##000000
##CD7FF01.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)
#689AF4
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#CB90AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ff0;
/* rgb */ color: rgb(205, 127, 240);
/* oklch */ color: oklch(72.1% 0.176 314.6);
Tailwind
colors: {
  custom: {
    50: '#dea6f5',
    500: '#cd7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff0;
$custom-light: #dea6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff0",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 281.416,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72125,
    "c": 0.17562,
    "h": 314.6
  },
  "luminance": 0.34449
}

Semantic roles & 50–950 ramp

primary
#CD7FF0
secondary
#E0F4D7
accent
#DB0A4B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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