#CB7EF0#CB7EF0

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

Color values

HEX#CB7EF0
RGBrgb(203, 126, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 48%, 94%)
CMYKcmyk(15.4%, 47.5%, 0%, 5.9%)
CIE-LABlab(64.89, 48.99, -45.73)
CIE-LCHlch(64.89, 67.01, 316.97°)
OKLaboklab(71.76% 0.1222 -0.1272)
OKLCHoklch(71.76% 0.176 313.9)
XYZxyz(47.8151, 33.9107, 86.4478)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EF0 #A3F07E
analogous
#927EF0 #CB7EF0 #F07EDC
triadic
#CB7EF0 #F0CB7E #7EF0CB
tetradic
#CB7EF0 #F0927E #A3F07E #7EDCF0
square
#CB7EF0 #F0927E #A3F07E #7EDCF0
split-complementary
#CB7EF0 #DCF07E #7EF092
monochromatic
#9C19DA #B547EA #CB7EF0 #E1B5F6 #F4E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7EF0#FFFFFF#000000##000000
##CB7EF01.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)
#6699F4
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#C88FAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7ef0;
/* rgb */ color: rgb(203, 126, 240);
/* oklch */ color: oklch(71.8% 0.176 313.9);
Tailwind
colors: {
  custom: {
    50: '#dda5f5',
    500: '#cb7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ef0;
$custom-light: #dda5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ef0",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 280.526,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71758,
    "c": 0.17639,
    "h": 313.9
  },
  "luminance": 0.33909
}

Semantic roles & 50–950 ramp

primary
#CB7EF0
secondary
#E0F3D6
accent
#DB0A4E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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