#CB7DF6#CB7DF6

#CB7DF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.185 H 312.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CB7DF6
RGBrgb(203, 125, 246)
HSLhsl(279, 87%, 73%)
HSVhsv(279, 49%, 96%)
CMYKcmyk(17.5%, 49.2%, 0%, 3.5%)
CIE-LABlab(64.98, 50.77, -48.90)
CIE-LCHlch(64.98, 70.48, 316.08°)
OKLaboklab(71.91% 0.1243 -0.1363)
OKLCHoklch(71.91% 0.185 312.4)
XYZxyz(48.5939, 34.0186, 91.1773)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DF6 #A8F67D
analogous
#8F7DF6 #CB7DF6 #F67DE4
triadic
#CB7DF6 #F6CB7D #7DF6CB
tetradic
#CB7DF6 #F68F7D #A8F67D #7DE4F6
square
#CB7DF6 #F68F7D #A8F67D #7DE4F6
split-complementary
#CB7DF6 #E4F67D #7DF68F
monochromatic
#9C10E9 #B444F2 #CB7DF6 #E2B6FA #F4E2FD

Accessibility & contrast

On white

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

On black

7.80
#CB7DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DF6
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DF6#FFFFFF#000000##000000
##CB7DF61.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C790AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7df6;
/* rgb */ color: rgb(203, 125, 246);
/* oklch */ color: oklch(71.9% 0.185 312.4);
Tailwind
colors: {
  custom: {
    50: '#dda5f9',
    500: '#cb7df6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7df6;
$custom-light: #dda5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7df6",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 278.678,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71915,
    "c": 0.18451,
    "h": 312.4
  },
  "luminance": 0.34018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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