#CB7BF9#CB7BF9

#CB7BF9 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.8% C 0.191 H 311.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CB7BF9
RGBrgb(203, 123, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.5%, 50.6%, 0%, 2.4%)
CIE-LABlab(64.73, 52.43, -50.94)
CIE-LCHlch(64.73, 73.11, 315.83°)
OKLaboklab(71.78% 0.1273 -0.1423)
OKLCHoklch(71.78% 0.191 311.8)
XYZxyz(48.8074, 33.7030, 93.5384)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF9 #A9F97B
analogous
#8C7BF9 #CB7BF9 #F97BE8
triadic
#CB7BF9 #F9CB7B #7BF9CB
tetradic
#CB7BF9 #F98C7B #A9F97B #7BE8F9
square
#CB7BF9 #F98C7B #A9F97B #7BE8F9
split-complementary
#CB7BF9 #E8F97B #7BF98C
monochromatic
#9C0BEF #B440F6 #CB7BF9 #E2B6FC #F3E2FE

Accessibility & contrast

On white

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

On black

7.74
#CB7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF9#FFFFFF#000000##000000
##CB7BF91.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#C690AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7bf9;
/* rgb */ color: rgb(203, 123, 249);
/* oklch */ color: oklch(71.8% 0.191 311.8);
Tailwind
colors: {
  custom: {
    50: '#dda3fc',
    500: '#cb7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf9;
$custom-light: #dda3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf9",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 278.095,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.1909,
    "h": 311.8
  },
  "luminance": 0.33702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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