#CB7ACC#CB7ACC

#CB7ACC is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.4% C 0.146 H 326.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CB7ACC
RGBrgb(203, 122, 204)
HSLhsl(299, 45%, 64%)
HSVhsv(299, 40%, 80%)
CMYKcmyk(0.5%, 40.2%, 0%, 20%)
CIE-LABlab(62.49, 43.99, -29.42)
CIE-LCHlch(62.49, 52.92, 326.23°)
OKLaboklab(69.45% 0.1217 -0.0803)
OKLCHoklch(69.45% 0.146 326.6)
XYZxyz(42.4863, 30.9771, 60.8563)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7ACC #7BCC7A
analogous
#A27ACC #CB7ACC #CC7AA4
triadic
#CB7ACC #CCCB7A #7ACCCB
tetradic
#CB7ACC #CCA27A #7BCC7A #7AA4CC
square
#CB7ACC #CCA27A #7BCC7A #7AA4CC
split-complementary
#CB7ACC #A4CC7A #7ACCA2
monochromatic
#923893 #BA4EBB #CB7ACC #DCA6DD #EED2EE

Accessibility & contrast

On white

2.92
#CB7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CB7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7ACC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7ACC#FFFFFF#000000##000000
##CB7ACC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391CF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#CF829A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7acc;
/* rgb */ color: rgb(203, 122, 204);
/* oklch */ color: oklch(69.4% 0.146 326.6);
Tailwind
colors: {
  custom: {
    50: '#dca2db',
    500: '#cb7acc',
    950: '#000000',
  },
}
SCSS
$custom: #cb7acc;
$custom-light: #dca2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7acc",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 299.268,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.14577,
    "h": 326.6
  },
  "luminance": 0.30975
}

Semantic roles & 50–950 ramp

primary
#CB7ACC
secondary
#C3DFC3
accent
#B82E2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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