#CB7BFE#CB7BFE

#CB7BFE is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.196 H 310.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CB7BFE
RGBrgb(203, 123, 254)
HSLhsl(277, 98%, 74%)
HSVhsv(277, 52%, 100%)
CMYKcmyk(20.1%, 51.6%, 0%, 0.4%)
CIE-LABlab(64.98, 53.50, -53.29)
CIE-LCHlch(64.98, 75.51, 315.11°)
OKLaboklab(72.05% 0.1277 -0.1491)
OKLCHoklch(72.05% 0.196 310.6)
XYZxyz(49.5977, 34.0191, 97.7003)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BFE #AEFE7B
analogous
#8A7BFE #CB7BFE #FE7BF0
triadic
#CB7BFE #FECB7B #7BFECB
tetradic
#CB7BFE #FE8A7B #AEFE7B #7BF0FE
square
#CB7BFE #FE8A7B #AEFE7B #7BF0FE
split-complementary
#CB7BFE #F0FE7B #7BFE8A
monochromatic
#9B02FD #B33EFE #CB7BFE #E3B8FE #F3E1FF

Accessibility & contrast

On white

2.69
#CB7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CB7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BFE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BFE#FFFFFF#000000##000000
##CB7BFE1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#C591B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7bfe;
/* rgb */ color: rgb(203, 123, 254);
/* oklch */ color: oklch(72.0% 0.196 310.6);
Tailwind
colors: {
  custom: {
    50: '#dda4ff',
    500: '#cb7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bfe;
$custom-light: #dda4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bfe",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 276.641,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72045,
    "c": 0.19633,
    "h": 310.6
  },
  "luminance": 0.34018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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