#CB7FFF#CB7FFF

#CB7FFF is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.191 H 309.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CB7FFF
RGBrgb(203, 127, 255)
HSLhsl(276, 100%, 75%)
HSVhsv(276, 50%, 100%)
CMYKcmyk(20.4%, 50.2%, 0%, 0%)
CIE-LABlab(65.82, 51.65, -52.49)
CIE-LCHlch(65.82, 73.64, 314.54°)
OKLaboklab(72.69% 0.1226 -0.1468)
OKLCHoklch(72.69% 0.191 309.9)
XYZxyz(50.2646, 35.0961, 98.7147)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FFF #B3FF7F
analogous
#8B7FFF #CB7FFF #FF7FF3
triadic
#CB7FFF #FFCB7F #7FFFCB
tetradic
#CB7FFF #FF8B7F #B3FF7F #7FF3FF
square
#CB7FFF #FF8B7F #B3FF7F #7FF3FF
split-complementary
#CB7FFF #F3FF7F #7FFF8B
monochromatic
#9905FF #B242FF #CB7FFF #E4BCFF #F3E0FF

Accessibility & contrast

On white

2.62
#CB7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CB7FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FFF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FFF#FFFFFF#000000##000000
##CB7FFF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#C494B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb7fff;
/* rgb */ color: rgb(203, 127, 255);
/* oklch */ color: oklch(72.7% 0.191 309.9);
Tailwind
colors: {
  custom: {
    50: '#dda6ff',
    500: '#cb7fff',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fff;
$custom-light: #dda6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fff",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 275.625,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.19127,
    "h": 309.9
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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