#CB7BF6#CB7BF6

#CB7BF6 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.188 H 312.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CB7BF6
RGBrgb(203, 123, 246)
HSLhsl(279, 87%, 72%)
HSVhsv(279, 50%, 96%)
CMYKcmyk(17.5%, 50%, 0%, 3.5%)
CIE-LABlab(64.58, 51.80, -49.53)
CIE-LCHlch(64.58, 71.67, 316.29°)
OKLaboklab(71.62% 0.127 -0.1382)
OKLCHoklch(71.62% 0.188 312.6)
XYZxyz(48.3432, 33.5174, 91.0938)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF6 #A6F67B
analogous
#8D7BF6 #CB7BF6 #F67BE4
triadic
#CB7BF6 #F6CB7B #7BF6CB
tetradic
#CB7BF6 #F68D7B #A6F67B #7BE4F6
square
#CB7BF6 #F68D7B #A6F67B #7BE4F6
split-complementary
#CB7BF6 #E4F67B #7BF68D
monochromatic
#9C10E7 #B442F2 #CB7BF6 #E2B4FA #F4E2FD

Accessibility & contrast

On white

2.73
#CB7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CB7BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF6#FFFFFF#000000##000000
##CB7BF61.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#769EF3
Tritanopia (blue-blind)
#C78FAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7bf6;
/* rgb */ color: rgb(203, 123, 246);
/* oklch */ color: oklch(71.6% 0.188 312.6);
Tailwind
colors: {
  custom: {
    50: '#dda3f9',
    500: '#cb7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf6;
$custom-light: #dda3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf6",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 279.024,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.18766,
    "h": 312.6
  },
  "luminance": 0.33516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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