#CB7DF4#CB7DF4

#CB7DF4 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.8% C 0.182 H 312.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CB7DF4
RGBrgb(203, 125, 244)
HSLhsl(279, 84%, 72%)
HSVhsv(279, 49%, 96%)
CMYKcmyk(16.8%, 48.8%, 0%, 4.3%)
CIE-LABlab(64.88, 50.35, -47.95)
CIE-LCHlch(64.88, 69.53, 316.40°)
OKLaboklab(71.81% 0.1241 -0.1336)
OKLCHoklch(71.81% 0.182 312.9)
XYZxyz(48.2886, 33.8965, 89.5693)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DF4 #A6F47D
analogous
#907DF4 #CB7DF4 #F47DE1
triadic
#CB7DF4 #F4CB7D #7DF4CB
tetradic
#CB7DF4 #F4907D #A6F47D #7DE1F4
square
#CB7DF4 #F4907D #A6F47D #7DE1F4
split-complementary
#CB7DF4 #E1F47D #7DF490
monochromatic
#9C13E3 #B445EF #CB7DF4 #E2B5F9 #F4E3FD

Accessibility & contrast

On white

2.70
#CB7DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CB7DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DF4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DF4#FFFFFF#000000##000000
##CB7DF41.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F8
Deuteranopia (green-blind)
#799FF1
Tritanopia (blue-blind)
#C790AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7df4;
/* rgb */ color: rgb(203, 125, 244);
/* oklch */ color: oklch(71.8% 0.182 312.9);
Tailwind
colors: {
  custom: {
    50: '#dda5f8',
    500: '#cb7df4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7df4;
$custom-light: #dda5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7df4",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 279.328,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.18234,
    "h": 312.9
  },
  "luminance": 0.33895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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