#CB7BCD#CB7BCD

#CB7BCD is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.145 H 326.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CB7BCD
RGBrgb(203, 123, 205)
HSLhsl(299, 45%, 64%)
HSVhsv(299, 40%, 80%)
CMYKcmyk(1%, 40%, 0%, 19.6%)
CIE-LABlab(62.74, 43.65, -29.60)
CIE-LCHlch(62.74, 52.74, 325.86°)
OKLaboklab(69.65% 0.1204 -0.0808)
OKLCHoklch(69.65% 0.145 326.1)
XYZxyz(42.7301, 31.2721, 61.5311)
Luminance0.3127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BCD #7DCD7B
analogous
#A27BCD #CB7BCD #CD7BA6
triadic
#CB7BCD #CDCB7B #7BCDCB
tetradic
#CB7BCD #CDA27B #7DCD7B #7BA6CD
square
#CB7BCD #CDA27B #7DCD7B #7BA6CD
split-complementary
#CB7BCD #A6CD7B #7BCDA2
monochromatic
#933895 #BA4FBC #CB7BCD #DCA7DE #EED4EF

Accessibility & contrast

On white

2.89
#CB7BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CB7BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BCD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BCD#FFFFFF#000000##000000
##CB7BCD1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#899BCA
Tritanopia (blue-blind)
#CF839A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7bcd;
/* rgb */ color: rgb(203, 123, 205);
/* oklch */ color: oklch(69.6% 0.145 326.1);
Tailwind
colors: {
  custom: {
    50: '#dca3dc',
    500: '#cb7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bcd;
$custom-light: #dca3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bcd",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 298.537,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.14502,
    "h": 326.1
  },
  "luminance": 0.3127
}

Semantic roles & 50–950 ramp

primary
#CB7BCD
secondary
#C4E0C4
accent
#B82D31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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