#CB7BF8#CB7BF8

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

Color values

HEX#CB7BF8
RGBrgb(203, 123, 248)
HSLhsl(278, 90%, 73%)
HSVhsv(278, 50%, 97%)
CMYKcmyk(18.1%, 50.4%, 0%, 2.7%)
CIE-LABlab(64.68, 52.22, -50.47)
CIE-LCHlch(64.68, 72.63, 315.98°)
OKLaboklab(71.72% 0.1272 -0.1409)
OKLCHoklch(71.72% 0.19 312.1)
XYZxyz(48.6519, 33.6408, 92.7191)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF8 #A8F87B
analogous
#8C7BF8 #CB7BF8 #F87BE6
triadic
#CB7BF8 #F8CB7B #7BF8CB
tetradic
#CB7BF8 #F88C7B #A8F87B #7BE6F8
square
#CB7BF8 #F88C7B #A8F87B #7BE6F8
split-complementary
#CB7BF8 #E6F87B #7BF88C
monochromatic
#9C0DEC #B441F5 #CB7BF8 #E2B5FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.73
#CB7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF8#FFFFFF#000000##000000
##CB7BF81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#C68FAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7bf8;
/* rgb */ color: rgb(203, 123, 248);
/* oklch */ color: oklch(71.7% 0.190 312.1);
Tailwind
colors: {
  custom: {
    50: '#dda3fb',
    500: '#cb7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf8;
$custom-light: #dda3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf8",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 278.4,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.18982,
    "h": 312.1
  },
  "luminance": 0.3364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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