#CB7FF6#CB7FF6

#CB7FF6 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.181 H 312.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CB7FF6
RGBrgb(203, 127, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 48%, 96%)
CMYKcmyk(17.5%, 48.4%, 0%, 3.5%)
CIE-LABlab(65.38, 49.73, -48.26)
CIE-LCHlch(65.38, 69.29, 315.86°)
OKLaboklab(72.21% 0.1216 -0.1345)
OKLCHoklch(72.21% 0.181 312.1)
XYZxyz(48.8496, 34.5301, 91.2625)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FF6 #AAF67F
analogous
#8F7FF6 #CB7FF6 #F67FE6
triadic
#CB7FF6 #F6CB7F #7FF6CB
tetradic
#CB7FF6 #F68F7F #AAF67F #7FE6F6
square
#CB7FF6 #F68F7F #AAF67F #7FE6F6
split-complementary
#CB7FF6 #E6F67F #7FF68F
monochromatic
#9B10EA #B446F2 #CB7FF6 #E2B8FA #F3E2FD

Accessibility & contrast

On white

2.66
#CB7FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CB7FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FF6
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FF6#FFFFFF#000000##000000
##CB7FF61.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#C792AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7ff6;
/* rgb */ color: rgb(203, 127, 246);
/* oklch */ color: oklch(72.2% 0.181 312.1);
Tailwind
colors: {
  custom: {
    50: '#dda6f9',
    500: '#cb7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ff6;
$custom-light: #dda6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ff6",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 278.319,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72215,
    "c": 0.18135,
    "h": 312.1
  },
  "luminance": 0.34529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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