#CB7BFD#CB7BFD

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

Color values

HEX#CB7BFD
RGBrgb(203, 123, 253)
HSLhsl(277, 97%, 74%)
HSVhsv(277, 51%, 99%)
CMYKcmyk(19.8%, 51.4%, 0%, 0.8%)
CIE-LABlab(64.93, 53.29, -52.82)
CIE-LCHlch(64.93, 75.03, 315.25°)
OKLaboklab(71.99% 0.1276 -0.1477)
OKLCHoklch(71.99% 0.195 310.8)
XYZxyz(49.4379, 33.9552, 96.8591)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BFD #ADFD7B
analogous
#8A7BFD #CB7BFD #FD7BEE
triadic
#CB7BFD #FDCB7B #7BFDCB
tetradic
#CB7BFD #FD8A7B #ADFD7B #7BEEFD
square
#CB7BFD #FD8A7B #ADFD7B #7BEEFD
split-complementary
#CB7BFD #EEFD7B #7BFD8A
monochromatic
#9B04FA #B33FFC #CB7BFD #E3B7FE #F3E1FF

Accessibility & contrast

On white

2.70
#CB7BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CB7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BFD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BFD#FFFFFF#000000##000000
##CB7BFD1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7bfd;
/* rgb */ color: rgb(203, 123, 253);
/* oklch */ color: oklch(72.0% 0.195 310.8);
Tailwind
colors: {
  custom: {
    50: '#dda4fe',
    500: '#cb7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bfd;
$custom-light: #dda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bfd",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 276.923,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71991,
    "c": 0.19524,
    "h": 310.8
  },
  "luminance": 0.33954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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