#CD7BFC#CD7BFC

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

Color values

HEX#CD7BFC
RGBrgb(205, 123, 252)
HSLhsl(278, 96%, 74%)
HSVhsv(278, 51%, 99%)
CMYKcmyk(18.7%, 51.2%, 0%, 1.2%)
CIE-LABlab(65.10, 53.59, -51.98)
CIE-LCHlch(65.10, 74.66, 315.87°)
OKLaboklab(72.15% 0.1299 -0.1453)
OKLCHoklch(72.15% 0.195 311.8)
XYZxyz(49.8274, 34.1744, 96.0481)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BFC #AAFC7B
analogous
#8C7BFC #CD7BFC #FC7BEA
triadic
#CD7BFC #FCCD7B #7BFCCD
tetradic
#CD7BFC #FC8C7B #AAFC7B #7BEAFC
square
#CD7BFC #FC8C7B #AAFC7B #7BEAFC
split-complementary
#CD7BFC #EAFC7B #7BFC8C
monochromatic
#9F06F7 #B63FFB #CD7BFC #E4B7FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.83
#CD7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BFC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BFC#FFFFFF#000000##000000
##CD7BFC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#C890B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7bfc;
/* rgb */ color: rgb(205, 123, 252);
/* oklch */ color: oklch(72.2% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4fe',
    500: '#cd7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bfc;
$custom-light: #dfa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bfc",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 278.14,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72153,
    "c": 0.19488,
    "h": 311.8
  },
  "luminance": 0.34173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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