#CB7CCF#CB7CCF

#CB7CCF is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.9% C 0.145 H 325.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CB7CCF
RGBrgb(203, 124, 207)
HSLhsl(297, 46%, 65%)
HSVhsv(297, 40%, 81%)
CMYKcmyk(1.9%, 40.1%, 0%, 18.8%)
CIE-LABlab(63.03, 43.50, -30.27)
CIE-LCHlch(63.03, 52.99, 325.16°)
OKLaboklab(69.89% 0.1194 -0.0827)
OKLCHoklch(69.89% 0.145 325.3)
XYZxyz(43.0977, 31.6186, 62.8522)
Luminance0.3162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CCF #80CF7C
analogous
#A17CCF #CB7CCF #CF7CAA
triadic
#CB7CCF #CFCB7C #7CCFCB
tetradic
#CB7CCF #CFA17C #80CF7C #7CAACF
square
#CB7CCF #CFA17C #80CF7C #7CAACF
split-complementary
#CB7CCF #AACF7C #7CCFA1
monochromatic
#943899 #B94FBF #CB7CCF #DDA9DF #EFD6F0

Accessibility & contrast

On white

2.87
#CB7CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CB7CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CCF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CCF#FFFFFF#000000##000000
##CB7CCF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#CF859C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7ccf;
/* rgb */ color: rgb(203, 124, 207);
/* oklch */ color: oklch(69.9% 0.145 325.3);
Tailwind
colors: {
  custom: {
    50: '#dca4de',
    500: '#cb7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ccf;
$custom-light: #dca4de;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ccf",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 297.108,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69889,
    "c": 0.14526,
    "h": 325.3
  },
  "luminance": 0.31617
}

Semantic roles & 50–950 ramp

primary
#CB7CCF
secondary
#C7E2C5
accent
#BA2C33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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