#CD7BFD#CD7BFD

#CD7BFD is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.2% C 0.196 H 311.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD7BFD
RGBrgb(205, 123, 253)
HSLhsl(278, 97%, 74%)
HSVhsv(278, 51%, 99%)
CMYKcmyk(19%, 51.4%, 0%, 0.8%)
CIE-LABlab(65.15, 53.80, -52.45)
CIE-LCHlch(65.15, 75.14, 315.73°)
OKLaboklab(72.21% 0.13 -0.1466)
OKLCHoklch(72.21% 0.196 311.6)
XYZxyz(49.9862, 34.2380, 96.8848)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BFD #ABFD7B
analogous
#8C7BFD #CD7BFD #FD7BEC
triadic
#CD7BFD #FDCD7B #7BFDCD
tetradic
#CD7BFD #FD8C7B #ABFD7B #7BECFD
square
#CD7BFD #FD8C7B #ABFD7B #7BECFD
split-complementary
#CD7BFD #ECFD7B #7BFD8C
monochromatic
#9F04FA #B63FFC #CD7BFD #E4B7FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.85
#CD7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BFD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BFD#FFFFFF#000000##000000
##CD7BFD1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C891B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7bfd;
/* rgb */ color: rgb(205, 123, 253);
/* oklch */ color: oklch(72.2% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#dfa4fe',
    500: '#cd7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bfd;
$custom-light: #dfa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bfd",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 277.846,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72206,
    "c": 0.19596,
    "h": 311.6
  },
  "luminance": 0.34237
}

Semantic roles & 50–950 ramp

primary
#CD7BFD
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CD7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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