#CB7DF0#CB7DF0

#CB7DF0 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.178 H 314.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CB7DF0
RGBrgb(203, 125, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 48%, 94%)
CMYKcmyk(15.4%, 47.9%, 0%, 5.9%)
CIE-LABlab(64.69, 49.51, -46.05)
CIE-LCHlch(64.69, 67.61, 317.08°)
OKLaboklab(71.61% 0.1236 -0.1281)
OKLCHoklch(71.61% 0.178 314)
XYZxyz(47.6878, 33.6562, 86.4054)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DF0 #A2F07D
analogous
#927DF0 #CB7DF0 #F07DDB
triadic
#CB7DF0 #F0CB7D #7DF0CB
tetradic
#CB7DF0 #F0927D #A2F07D #7DDBF0
square
#CB7DF0 #F0927D #A2F07D #7DDBF0
split-complementary
#CB7DF0 #DBF07D #7DF092
monochromatic
#9C19DA #B546EA #CB7DF0 #E1B4F6 #F4E4FC

Accessibility & contrast

On white

2.72
#CB7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CB7DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DF0
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DF0#FFFFFF#000000##000000
##CB7DF01.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#C88FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7df0;
/* rgb */ color: rgb(203, 125, 240);
/* oklch */ color: oklch(71.6% 0.178 314.0);
Tailwind
colors: {
  custom: {
    50: '#dda5f5',
    500: '#cb7df0',
    950: '#000000',
  },
}
SCSS
$custom: #cb7df0;
$custom-light: #dda5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7df0",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 280.696,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71607,
    "c": 0.17799,
    "h": 314
  },
  "luminance": 0.33655
}

Semantic roles & 50–950 ramp

primary
#CB7DF0
secondary
#DFF3D6
accent
#DC0A4D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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