#CB7BF2#CB7BF2

#CB7BF2 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.183 H 313.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CB7BF2
RGBrgb(203, 123, 242)
HSLhsl(280, 82%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.1%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.38, 50.96, -47.63)
CIE-LCHlch(64.38, 69.76, 316.94°)
OKLaboklab(71.41% 0.1265 -0.1327)
OKLCHoklch(71.41% 0.183 313.6)
XYZxyz(47.7359, 33.2744, 87.8951)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF2 #A2F27B
analogous
#907BF2 #CB7BF2 #F27BDE
triadic
#CB7BF2 #F2CB7B #7BF2CB
tetradic
#CB7BF2 #F2907B #A2F27B #7BDEF2
square
#CB7BF2 #F2907B #A2F27B #7BDEF2
split-complementary
#CB7BF2 #DEF27B #7BF290
monochromatic
#9C16DD #B543ED #CB7BF2 #E1B3F7 #F4E3FC

Accessibility & contrast

On white

2.74
#CB7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CB7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF2#FFFFFF#000000##000000
##CB7BF21.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C88EAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7bf2;
/* rgb */ color: rgb(203, 123, 242);
/* oklch */ color: oklch(71.4% 0.183 313.6);
Tailwind
colors: {
  custom: {
    50: '#dda3f7',
    500: '#cb7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf2;
$custom-light: #dda3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf2",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 280.336,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71411,
    "c": 0.18334,
    "h": 313.6
  },
  "luminance": 0.33273
}

Semantic roles & 50–950 ramp

primary
#CB7BF2
secondary
#DFF4D5
accent
#DE074E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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