#CD7BF8#CD7BF8

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

Color values

HEX#CD7BF8
RGBrgb(205, 123, 248)
HSLhsl(279, 90%, 73%)
HSVhsv(279, 50%, 97%)
CMYKcmyk(17.3%, 50.4%, 0%, 2.7%)
CIE-LABlab(64.90, 52.75, -50.10)
CIE-LCHlch(64.90, 72.75, 316.48°)
OKLaboklab(71.94% 0.1295 -0.1398)
OKLCHoklch(71.94% 0.191 312.8)
XYZxyz(49.2002, 33.9235, 92.7448)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF8 #A6F87B
analogous
#8E7BF8 #CD7BF8 #F87BE4
triadic
#CD7BF8 #F8CD7B #7BF8CD
tetradic
#CD7BF8 #F88E7B #A6F87B #7BE4F8
square
#CD7BF8 #F88E7B #A6F87B #7BE4F8
split-complementary
#CD7BF8 #E4F87B #7BF88E
monochromatic
#9F0DEC #B741F5 #CD7BF8 #E3B5FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.78
#CD7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF8
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF8#FFFFFF#000000##000000
##CD7BF81.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#C98FAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf8;
/* rgb */ color: rgb(205, 123, 248);
/* oklch */ color: oklch(71.9% 0.191 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4fb',
    500: '#cd7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf8;
$custom-light: #dfa4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf8",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 279.36,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71941,
    "c": 0.19058,
    "h": 312.8
  },
  "luminance": 0.33922
}

Semantic roles & 50–950 ramp

primary
#CD7BF8
secondary
#E0F6D5
accent
#E6004F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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