#CB7FCB#CB7FCB

#CB7FCB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.2% C 0.136 H 326.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CB7FCB
RGBrgb(203, 127, 203)
HSLhsl(300, 42%, 65%)
HSVhsv(300, 37%, 80%)
CMYKcmyk(0%, 37.4%, 0%, 20.4%)
CIE-LABlab(63.50, 41.16, -27.30)
CIE-LCHlch(63.50, 49.39, 326.45°)
OKLaboklab(70.19% 0.114 -0.0743)
OKLCHoklch(70.19% 0.136 326.9)
XYZxyz(42.9966, 32.1889, 60.4366)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FCB #7FCB7F
analogous
#A57FCB #CB7FCB #CB7FA5
triadic
#CB7FCB #CBCB7F #7FCBCB
tetradic
#CB7FCB #CBA57F #7FCB7F #7FA5CB
square
#CB7FCB #CBA57F #7FCB7F #7FA5CB
split-complementary
#CB7FCB #A5CB7F #7FCBA5
monochromatic
#943C94 #B953B9 #CB7FCB #DDABDD #EED6EE

Accessibility & contrast

On white

2.82
#CB7FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CB7FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FCB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FCB#FFFFFF#000000##000000
##CB7FCB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CE
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#CF869C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7fcb;
/* rgb */ color: rgb(203, 127, 203);
/* oklch */ color: oklch(70.2% 0.136 326.9);
Tailwind
colors: {
  custom: {
    50: '#dca6db',
    500: '#cb7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fcb;
$custom-light: #dca6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fcb",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.13613,
    "h": 326.9
  },
  "luminance": 0.32187
}

Semantic roles & 50–950 ramp

primary
#CB7FCB
secondary
#C6E0C6
accent
#B53030
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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