#CB7FF7#CB7FF7

#CB7FF7 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.182 H 311.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CB7FF7
RGBrgb(203, 127, 247)
HSLhsl(278, 88%, 73%)
HSVhsv(278, 49%, 97%)
CMYKcmyk(17.8%, 48.6%, 0%, 3.1%)
CIE-LABlab(65.43, 49.94, -48.73)
CIE-LCHlch(65.43, 69.78, 315.70°)
OKLaboklab(72.27% 0.1218 -0.1359)
OKLCHoklch(72.27% 0.182 311.9)
XYZxyz(49.0035, 34.5917, 92.0731)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FF7 #ABF77F
analogous
#8F7FF7 #CB7FF7 #F77FE7
triadic
#CB7FF7 #F7CB7F #7FF7CB
tetradic
#CB7FF7 #F78F7F #ABF77F #7FE7F7
square
#CB7FF7 #F78F7F #ABF77F #7FE7F7
split-complementary
#CB7FF7 #E7F77F #7FF78F
monochromatic
#9B0FED #B445F3 #CB7FF7 #E2B9FB #F3E2FD

Accessibility & contrast

On white

2.65
#CB7FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CB7FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FF7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FF7#FFFFFF#000000##000000
##CB7FF71.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#C692B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7ff7;
/* rgb */ color: rgb(203, 127, 247);
/* oklch */ color: oklch(72.3% 0.182 311.9);
Tailwind
colors: {
  custom: {
    50: '#dda6fa',
    500: '#cb7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ff7;
$custom-light: #dda6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ff7",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 278,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72267,
    "c": 0.18245,
    "h": 311.9
  },
  "luminance": 0.34591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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