#CB7CF8#CB7CF8

#CB7CF8 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.188 H 312.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CB7CF8
RGBrgb(203, 124, 248)
HSLhsl(278, 90%, 73%)
HSVhsv(278, 50%, 97%)
CMYKcmyk(18.1%, 50%, 0%, 2.7%)
CIE-LABlab(64.88, 51.71, -50.16)
CIE-LCHlch(64.88, 72.04, 315.87°)
OKLaboklab(71.87% 0.1259 -0.14)
OKLCHoklch(71.87% 0.188 312)
XYZxyz(48.7766, 33.8902, 92.7607)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CF8 #A9F87C
analogous
#8D7CF8 #CB7CF8 #F87CE7
triadic
#CB7CF8 #F8CB7C #7CF8CB
tetradic
#CB7CF8 #F88D7C #A9F87C #7CE7F8
square
#CB7CF8 #F88D7C #A9F87C #7CE7F8
split-complementary
#CB7CF8 #E7F87C #7CF88D
monochromatic
#9C0DED #B442F5 #CB7CF8 #E2B6FB #F3E2FD

Accessibility & contrast

On white

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

On black

7.78
#CB7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CF8
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CF8#FFFFFF#000000##000000
##CB7CF81.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#C690AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7cf8;
/* rgb */ color: rgb(203, 124, 248);
/* oklch */ color: oklch(71.9% 0.188 312.0);
Tailwind
colors: {
  custom: {
    50: '#dda4fb',
    500: '#cb7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cf8;
$custom-light: #dda4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cf8",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 278.226,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.18826,
    "h": 312
  },
  "luminance": 0.33889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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