#CD7CF7#CD7CF7

#CD7CF7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.188 H 313.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF7
RGBrgb(205, 124, 247)
HSLhsl(280, 88%, 73%)
HSVhsv(280, 50%, 97%)
CMYKcmyk(17%, 49.8%, 0%, 3.1%)
CIE-LABlab(65.05, 52.03, -49.32)
CIE-LCHlch(65.05, 71.68, 316.53°)
OKLaboklab(72.04% 0.1281 -0.1375)
OKLCHoklch(72.04% 0.188 313)
XYZxyz(49.1701, 34.1110, 91.9715)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF7 #A6F77C
analogous
#8F7CF7 #CD7CF7 #F77CE4
triadic
#CD7CF7 #F7CD7C #7CF7CD
tetradic
#CD7CF7 #F78F7C #A6F77C #7CE4F7
square
#CD7CF7 #F78F7C #A6F77C #7CE4F7
split-complementary
#CD7CF7 #E4F77C #7CF78F
monochromatic
#9F0EEA #B742F3 #CD7CF7 #E3B6FB #F4E2FD

Accessibility & contrast

On white

2.68
#CD7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CD7CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF7#FFFFFF#000000##000000
##CD7CF71.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#C990AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7cf7;
/* rgb */ color: rgb(205, 124, 247);
/* oklch */ color: oklch(72.0% 0.188 313.0);
Tailwind
colors: {
  custom: {
    50: '#dfa4fa',
    500: '#cd7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf7;
$custom-light: #dfa4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf7",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 279.512,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.18794,
    "h": 313
  },
  "luminance": 0.3411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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