#CB7BFA#CB7BFA

#CB7BFA is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.192 H 311.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CB7BFA
RGBrgb(203, 123, 250)
HSLhsl(278, 93%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.8%, 50.8%, 0%, 2%)
CIE-LABlab(64.78, 52.65, -51.41)
CIE-LCHlch(64.78, 73.59, 315.68°)
OKLaboklab(71.83% 0.1274 -0.1437)
OKLCHoklch(71.83% 0.192 311.6)
XYZxyz(48.9638, 33.7656, 94.3620)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BFA #AAFA7B
analogous
#8B7BFA #CB7BFA #FA7BEA
triadic
#CB7BFA #FACB7B #7BFACB
tetradic
#CB7BFA #FA8B7B #AAFA7B #7BEAFA
square
#CB7BFA #FA8B7B #AAFA7B #7BEAFA
split-complementary
#CB7BFA #EAFA7B #7BFA8B
monochromatic
#9B09F1 #B440F8 #CB7BFA #E2B6FC #F3E2FE

Accessibility & contrast

On white

2.71
#CB7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CB7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BFA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BFA#FFFFFF#000000##000000
##CB7BFA1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#C690AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7bfa;
/* rgb */ color: rgb(203, 123, 250);
/* oklch */ color: oklch(71.8% 0.192 311.6);
Tailwind
colors: {
  custom: {
    50: '#dda3fc',
    500: '#cb7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bfa;
$custom-light: #dda3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bfa",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 277.795,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7183,
    "c": 0.19199,
    "h": 311.6
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#CB7BFA
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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