#CB7EFD#CB7EFD

#CB7EFD is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.191 H 310.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CB7EFD
RGBrgb(203, 126, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 50%, 99%)
CMYKcmyk(19.8%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.52, 51.74, -51.88)
CIE-LCHlch(65.52, 73.27, 314.92°)
OKLaboklab(72.43% 0.1237 -0.145)
OKLCHoklch(72.43% 0.191 310.5)
XYZxyz(49.8158, 34.7110, 96.9851)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EFD #B0FD7E
analogous
#8C7EFD #CB7EFD #FD7EF0
triadic
#CB7EFD #FDCB7E #7EFDCB
tetradic
#CB7EFD #FD8C7E #B0FD7E #7EF0FD
square
#CB7EFD #FD8C7E #B0FD7E #7EF0FD
split-complementary
#CB7EFD #F0FD7E #7EFD8C
monochromatic
#9A05FB #B342FC #CB7EFD #E3BAFE #F3E1FF

Accessibility & contrast

On white

2.64
#CB7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CB7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EFD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EFD#FFFFFF#000000##000000
##CB7EFD1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#C593B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7efd;
/* rgb */ color: rgb(203, 126, 253);
/* oklch */ color: oklch(72.4% 0.191 310.5);
Tailwind
colors: {
  custom: {
    50: '#dda5fe',
    500: '#cb7efd',
    950: '#000000',
  },
}
SCSS
$custom: #cb7efd;
$custom-light: #dda5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7efd",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 276.378,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72432,
    "c": 0.19062,
    "h": 310.5
  },
  "luminance": 0.3471
}

Semantic roles & 50–950 ramp

primary
#CB7EFD
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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