#CB7EFF#CB7EFF

#CB7EFF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.5% C 0.193 H 310.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CB7EFF
RGBrgb(203, 126, 255)
HSLhsl(276, 100%, 75%)
HSVhsv(276, 51%, 100%)
CMYKcmyk(20.4%, 50.6%, 0%, 0%)
CIE-LABlab(65.62, 52.17, -52.81)
CIE-LCHlch(65.62, 74.23, 314.65°)
OKLaboklab(72.54% 0.1239 -0.1477)
OKLCHoklch(72.54% 0.193 310)
XYZxyz(50.1361, 34.8391, 98.6718)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EFF #B2FF7E
analogous
#8B7EFF #CB7EFF #FF7EF2
triadic
#CB7EFF #FFCB7E #7EFFCB
tetradic
#CB7EFF #FF8B7E #B2FF7E #7EF2FF
square
#CB7EFF #FF8B7E #B2FF7E #7EF2FF
split-complementary
#CB7EFF #F2FF7E #7EFF8B
monochromatic
#9A04FF #B241FF #CB7EFF #E4BBFF #F3E0FF

Accessibility & contrast

On white

2.64
#CB7EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CB7EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EFF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EFF#FFFFFF#000000##000000
##CB7EFF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#C494B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7eff;
/* rgb */ color: rgb(203, 126, 255);
/* oklch */ color: oklch(72.5% 0.193 310.0);
Tailwind
colors: {
  custom: {
    50: '#dda5ff',
    500: '#cb7eff',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eff;
$custom-light: #dda5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eff",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 275.814,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72539,
    "c": 0.19282,
    "h": 310
  },
  "luminance": 0.34838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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