#CB7BF7#CB7BF7

#CB7BF7 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.7% C 0.189 H 312.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CB7BF7
RGBrgb(203, 123, 247)
HSLhsl(279, 89%, 73%)
HSVhsv(279, 50%, 97%)
CMYKcmyk(17.8%, 50.2%, 0%, 3.1%)
CIE-LABlab(64.63, 52.01, -50.00)
CIE-LCHlch(64.63, 72.15, 316.13°)
OKLaboklab(71.67% 0.1271 -0.1395)
OKLCHoklch(71.67% 0.189 312.3)
XYZxyz(48.4971, 33.5789, 91.9043)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF7 #A7F77B
analogous
#8D7BF7 #CB7BF7 #F77BE5
triadic
#CB7BF7 #F7CB7B #7BF7CB
tetradic
#CB7BF7 #F78D7B #A7F77B #7BE5F7
square
#CB7BF7 #F78D7B #A7F77B #7BE5F7
split-complementary
#CB7BF7 #E5F77B #7BF78D
monochromatic
#9C0EE9 #B441F4 #CB7BF7 #E2B5FA #F4E2FD

Accessibility & contrast

On white

2.72
#CB7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CB7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF7#FFFFFF#000000##000000
##CB7BF71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#C78FAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7bf7;
/* rgb */ color: rgb(203, 123, 247);
/* oklch */ color: oklch(71.7% 0.189 312.3);
Tailwind
colors: {
  custom: {
    50: '#dda3fa',
    500: '#cb7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf7;
$custom-light: #dda3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf7",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 278.71,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71672,
    "c": 0.18874,
    "h": 312.3
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#CB7BF7
secondary
#E1F5D6
accent
#E50052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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