#CB7DF3#CB7DF3

#CB7DF3 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.181 H 313.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CB7DF3
RGBrgb(203, 125, 243)
HSLhsl(280, 83%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.5%, 48.6%, 0%, 4.7%)
CIE-LABlab(64.83, 50.14, -47.47)
CIE-LCHlch(64.83, 69.05, 316.56°)
OKLaboklab(71.76% 0.124 -0.1322)
OKLCHoklch(71.76% 0.181 313.2)
XYZxyz(48.1372, 33.8359, 88.7718)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DF3 #A5F37D
analogous
#907DF3 #CB7DF3 #F37DE0
triadic
#CB7DF3 #F3CB7D #7DF3CB
tetradic
#CB7DF3 #F3907D #A5F37D #7DE0F3
square
#CB7DF3 #F3907D #A5F37D #7DE0F3
split-complementary
#CB7DF3 #E0F37D #7DF390
monochromatic
#9C15E1 #B545EE #CB7DF3 #E1B5F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.77
#CB7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DF3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DF3#FFFFFF#000000##000000
##CB7DF31.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#C78FAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7df3;
/* rgb */ color: rgb(203, 125, 243);
/* oklch */ color: oklch(71.8% 0.181 313.2);
Tailwind
colors: {
  custom: {
    50: '#dda5f7',
    500: '#cb7df3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7df3;
$custom-light: #dda5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7df3",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 279.661,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7176,
    "c": 0.18125,
    "h": 313.2
  },
  "luminance": 0.33835
}

Semantic roles & 50–950 ramp

primary
#CB7DF3
secondary
#E1F4D7
accent
#E00650
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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