#CB7FCA#CB7FCA

#CB7FCA is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.135 H 327.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CB7FCA
RGBrgb(203, 127, 202)
HSLhsl(301, 42%, 65%)
HSVhsv(301, 37%, 80%)
CMYKcmyk(0%, 37.4%, 0.5%, 20.4%)
CIE-LABlab(63.46, 40.97, -26.80)
CIE-LCHlch(63.46, 48.96, 326.82°)
OKLaboklab(70.15% 0.1138 -0.0729)
OKLCHoklch(70.15% 0.135 327.4)
XYZxyz(42.8778, 32.1414, 59.8110)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FCA #7FCB80
analogous
#A67FCB #CB7FCA #CB7FA4
triadic
#CB7FCA #CACB7F #7FCACB
tetradic
#CB7FCA #CBA67F #7FCB80 #7FA4CB
square
#CB7FCA #CBA67F #7FCB80 #7FA4CB
split-complementary
#CB7FCA #A4CB7F #7FCBA6
monochromatic
#943C92 #B953B8 #CB7FCA #DDABDC #EED6EE

Accessibility & contrast

On white

2.83
#CB7FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CB7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FCA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FCA#FFFFFF#000000##000000
##CB7FCA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CD
Deuteranopia (green-blind)
#8D9DC7
Tritanopia (blue-blind)
#D0869B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7fca;
/* rgb */ color: rgb(203, 127, 202);
/* oklch */ color: oklch(70.1% 0.135 327.4);
Tailwind
colors: {
  custom: {
    50: '#dca5da',
    500: '#cb7fca',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fca;
$custom-light: #dca5da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fca",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 300.789,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70149,
    "c": 0.13515,
    "h": 327.4
  },
  "luminance": 0.3214
}

Semantic roles & 50–950 ramp

primary
#CB7FCA
secondary
#C6E0C6
accent
#B53230
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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