#CB7DF7#CB7DF7

#CB7DF7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.186 H 312.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CB7DF7
RGBrgb(203, 125, 247)
HSLhsl(278, 88%, 73%)
HSVhsv(278, 49%, 97%)
CMYKcmyk(17.8%, 49.4%, 0%, 3.1%)
CIE-LABlab(65.03, 50.98, -49.37)
CIE-LCHlch(65.03, 70.97, 315.92°)
OKLaboklab(71.97% 0.1244 -0.1377)
OKLCHoklch(71.97% 0.186 312.1)
XYZxyz(48.7478, 34.0802, 91.9878)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DF7 #A9F77D
analogous
#8E7DF7 #CB7DF7 #F77DE6
triadic
#CB7DF7 #F7CB7D #7DF7CB
tetradic
#CB7DF7 #F78E7D #A9F77D #7DE6F7
square
#CB7DF7 #F78E7D #A9F77D #7DE6F7
split-complementary
#CB7DF7 #E6F77D #7DF78E
monochromatic
#9C0EEB #B443F3 #CB7DF7 #E2B7FB #F3E2FD

Accessibility & contrast

On white

2.69
#CB7DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CB7DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DF7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DF7#FFFFFF#000000##000000
##CB7DF71.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#C691AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7df7;
/* rgb */ color: rgb(203, 125, 247);
/* oklch */ color: oklch(72.0% 0.186 312.1);
Tailwind
colors: {
  custom: {
    50: '#dda5fa',
    500: '#cb7df7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7df7;
$custom-light: #dda5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7df7",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 278.361,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.1856,
    "h": 312.1
  },
  "luminance": 0.34079
}

Semantic roles & 50–950 ramp

primary
#CB7DF7
secondary
#E1F5D6
accent
#E50053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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