#CB7FFD#CB7FFD

#CB7FFD is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.189 H 310.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CB7FFD
RGBrgb(203, 127, 253)
HSLhsl(276, 97%, 75%)
HSVhsv(276, 50%, 99%)
CMYKcmyk(19.8%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.72, 51.22, -51.56)
CIE-LCHlch(65.72, 72.68, 314.81°)
OKLaboklab(72.58% 0.1224 -0.1441)
OKLCHoklch(72.58% 0.189 310.3)
XYZxyz(49.9443, 34.9680, 97.0279)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FFD #B1FD7F
analogous
#8C7FFD #CB7FFD #FD7FF0
triadic
#CB7FFD #FDCB7F #7FFDCB
tetradic
#CB7FFD #FD8C7F #B1FD7F #7FF0FD
square
#CB7FFD #FD8C7F #B1FD7F #7FF0FD
split-complementary
#CB7FFD #F0FD7F #7FFD8C
monochromatic
#9A06FB #B343FC #CB7FFD #E3BBFE #F3E1FF

Accessibility & contrast

On white

2.63
#CB7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CB7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FFD
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FFD#FFFFFF#000000##000000
##CB7FFD1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#C594B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb7ffd;
/* rgb */ color: rgb(203, 127, 253);
/* oklch */ color: oklch(72.6% 0.189 310.3);
Tailwind
colors: {
  custom: {
    50: '#dda6fe',
    500: '#cb7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ffd;
$custom-light: #dda6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ffd",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 276.19,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72581,
    "c": 0.18907,
    "h": 310.3
  },
  "luminance": 0.34967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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