#CB7FF3#CB7FF3

#CB7FF3 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.178 H 312.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CB7FF3
RGBrgb(203, 127, 243)
HSLhsl(279, 83%, 73%)
HSVhsv(279, 48%, 95%)
CMYKcmyk(16.5%, 47.7%, 0%, 4.7%)
CIE-LABlab(65.24, 49.09, -46.83)
CIE-LCHlch(65.24, 67.85, 316.35°)
OKLaboklab(72.06% 0.1213 -0.1304)
OKLCHoklch(72.06% 0.178 312.9)
XYZxyz(48.3929, 34.3474, 88.8571)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FF3 #A7F37F
analogous
#917FF3 #CB7FF3 #F37FE1
triadic
#CB7FF3 #F3CB7F #7FF3CB
tetradic
#CB7FF3 #F3917F #A7F37F #7FE1F3
square
#CB7FF3 #F3917F #A7F37F #7FE1F3
split-complementary
#CB7FF3 #E1F37F #7FF391
monochromatic
#9C15E2 #B447EE #CB7FF3 #E2B7F8 #F4E3FC

Accessibility & contrast

On white

2.67
#CB7FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CB7FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FF3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FF3#FFFFFF#000000##000000
##CB7FF31.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#C791AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ff3;
/* rgb */ color: rgb(203, 127, 243);
/* oklch */ color: oklch(72.1% 0.178 312.9);
Tailwind
colors: {
  custom: {
    50: '#dda6f7',
    500: '#cb7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ff3;
$custom-light: #dda6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ff3",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 279.31,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.17805,
    "h": 312.9
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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