#CB80F2#CB80F2

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

Color values

HEX#CB80F2
RGBrgb(203, 128, 242)
HSLhsl(279, 81%, 73%)
HSVhsv(279, 47%, 95%)
CMYKcmyk(16.1%, 47.1%, 0%, 5.1%)
CIE-LABlab(65.39, 48.36, -46.04)
CIE-LCHlch(65.39, 66.77, 316.41°)
OKLaboklab(72.16% 0.1198 -0.1281)
OKLCHoklch(72.16% 0.175 313.1)
XYZxyz(48.3721, 34.5468, 88.1072)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB80F2 #A7F280
analogous
#9280F2 #CB80F2 #F280E0
triadic
#CB80F2 #F2CB80 #80F2CB
tetradic
#CB80F2 #F29280 #A7F280 #80E0F2
square
#CB80F2 #F29280 #A7F280 #80E0F2
split-complementary
#CB80F2 #E0F280 #80F292
monochromatic
#9C17E1 #B448EC #CB80F2 #E2B8F8 #F4E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB80F2#FFFFFF#000000##000000
##CB80F21.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)
#679BF6
Deuteranopia (green-blind)
#7CA1EF
Tritanopia (blue-blind)
#C891AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb80f2;
/* rgb */ color: rgb(203, 128, 242);
/* oklch */ color: oklch(72.2% 0.175 313.1);
Tailwind
colors: {
  custom: {
    50: '#dda7f7',
    500: '#cb80f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb80f2;
$custom-light: #dda7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb80f2",
  "rgb": {
    "r": 203,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 279.474,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72163,
    "c": 0.17536,
    "h": 313.1
  },
  "luminance": 0.34546
}

Semantic roles & 50–950 ramp

primary
#CB80F2
secondary
#E1F4D7
accent
#DE0851
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB80F2

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

Preview Lab → · Contrast checker → · Palette generator →

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