#CD7BF0#CD7BF0

#CD7BF0 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.182 H 315.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF0
RGBrgb(205, 123, 240)
HSLhsl(282, 80%, 71%)
HSVhsv(282, 49%, 94%)
CMYKcmyk(14.6%, 48.7%, 0%, 5.9%)
CIE-LABlab(64.51, 51.09, -46.31)
CIE-LCHlch(64.51, 68.95, 317.81°)
OKLaboklab(71.53% 0.1287 -0.1288)
OKLCHoklch(71.53% 0.182 315)
XYZxyz(47.9855, 33.4376, 86.3475)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF0 #9EF07B
analogous
#927BF0 #CD7BF0 #F07BD8
triadic
#CD7BF0 #F0CD7B #7BF0CD
tetradic
#CD7BF0 #F0927B #9EF07B #7BD8F0
square
#CD7BF0 #F0927B #9EF07B #7BD8F0
split-complementary
#CD7BF0 #D8F07B #7BF092
monochromatic
#9F19D8 #B844EA #CD7BF0 #E2B2F6 #F5E4FC

Accessibility & contrast

On white

2.73
#CD7BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CD7BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF0
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF0#FFFFFF#000000##000000
##CD7BF01.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F4
Deuteranopia (green-blind)
#7A9FED
Tritanopia (blue-blind)
#CB8DAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7bf0;
/* rgb */ color: rgb(205, 123, 240);
/* oklch */ color: oklch(71.5% 0.182 315.0);
Tailwind
colors: {
  custom: {
    50: '#dea3f5',
    500: '#cd7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf0;
$custom-light: #dea3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf0",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 282.051,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.18203,
    "h": 315
  },
  "luminance": 0.33436
}

Semantic roles & 50–950 ramp

primary
#CD7BF0
secondary
#DDF3D4
accent
#DC0A49
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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