#CD7BF7#CD7BF7

#CD7BF7 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.190 H 313.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF7
RGBrgb(205, 123, 247)
HSLhsl(280, 89%, 73%)
HSVhsv(280, 50%, 97%)
CMYKcmyk(17%, 50.2%, 0%, 3.1%)
CIE-LABlab(64.85, 52.54, -49.63)
CIE-LCHlch(64.85, 72.27, 316.63°)
OKLaboklab(71.89% 0.1294 -0.1384)
OKLCHoklch(71.89% 0.19 313.1)
XYZxyz(49.0455, 33.8616, 91.9300)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF7 #A5F77B
analogous
#8F7BF7 #CD7BF7 #F77BE3
triadic
#CD7BF7 #F7CD7B #7BF7CD
tetradic
#CD7BF7 #F78F7B #A5F77B #7BE3F7
square
#CD7BF7 #F78F7B #A5F77B #7BE3F7
split-complementary
#CD7BF7 #E3F77B #7BF78F
monochromatic
#9F0EE9 #B741F4 #CD7BF7 #E3B5FA #F4E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7BF7#FFFFFF#000000##000000
##CD7BF71.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)
#5E99FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#C98FAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf7;
/* rgb */ color: rgb(205, 123, 247);
/* oklch */ color: oklch(71.9% 0.190 313.1);
Tailwind
colors: {
  custom: {
    50: '#dfa4fa',
    500: '#cd7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf7;
$custom-light: #dfa4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf7",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 279.677,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71888,
    "c": 0.18951,
    "h": 313.1
  },
  "luminance": 0.3386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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