#CB7FFE#CB7FFE

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

Color values

HEX#CB7FFE
RGBrgb(203, 127, 254)
HSLhsl(276, 98%, 75%)
HSVhsv(276, 50%, 100%)
CMYKcmyk(20.1%, 50%, 0%, 0.4%)
CIE-LABlab(65.77, 51.44, -52.03)
CIE-LCHlch(65.77, 73.16, 314.67°)
OKLaboklab(72.63% 0.1225 -0.1455)
OKLCHoklch(72.63% 0.19 310.1)
XYZxyz(50.1040, 35.0319, 97.8691)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FFE #B2FE7F
analogous
#8C7FFE #CB7FFE #FE7FF1
triadic
#CB7FFE #FECB7F #7FFECB
tetradic
#CB7FFE #FE8C7F #B2FE7F #7FF1FE
square
#CB7FFE #FE8C7F #B2FE7F #7FF1FE
split-complementary
#CB7FFE #F1FE7F #7FFE8C
monochromatic
#9A06FD #B242FE #CB7FFE #E4BCFE #F3E1FF

Accessibility & contrast

On white

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

On black

8.01
#CB7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FFE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FFE#FFFFFF#000000##000000
##CB7FFE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7ffe;
/* rgb */ color: rgb(203, 127, 254);
/* oklch */ color: oklch(72.6% 0.190 310.1);
Tailwind
colors: {
  custom: {
    50: '#dda6ff',
    500: '#cb7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ffe;
$custom-light: #dda6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ffe",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 275.906,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.19016,
    "h": 310.1
  },
  "luminance": 0.35031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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