#CD7BFB#CD7BFB

#CD7BFB is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.1% C 0.194 H 312.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CD7BFB
RGBrgb(205, 123, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.3%, 51%, 0%, 1.6%)
CIE-LABlab(65.05, 53.38, -51.51)
CIE-LCHlch(65.05, 74.18, 316.02°)
OKLaboklab(72.1% 0.1298 -0.1439)
OKLCHoklch(72.1% 0.194 312.1)
XYZxyz(49.6693, 34.1112, 95.2157)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BFB #A9FB7B
analogous
#8D7BFB #CD7BFB #FB7BE9
triadic
#CD7BFB #FBCD7B #7BFBCD
tetradic
#CD7BFB #FB8D7B #A9FB7B #7BE9FB
square
#CD7BFB #FB8D7B #A9FB7B #7BE9FB
split-complementary
#CD7BFB #E9FB7B #7BFB8D
monochromatic
#9F07F4 #B740F9 #CD7BFB #E3B6FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.82
#CD7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BFB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BFB#FFFFFF#000000##000000
##CD7BFB1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#C890B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7bfb;
/* rgb */ color: rgb(205, 123, 251);
/* oklch */ color: oklch(72.1% 0.194 312.1);
Tailwind
colors: {
  custom: {
    50: '#dfa4fd',
    500: '#cd7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bfb;
$custom-light: #dfa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bfb",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 278.438,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72099,
    "c": 0.19381,
    "h": 312.1
  },
  "luminance": 0.3411
}

Semantic roles & 50–950 ramp

primary
#CD7BFB
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CD7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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