#CB7BEF#CB7BEF

#CB7BEF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.180 H 314.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CB7BEF
RGBrgb(203, 123, 239)
HSLhsl(281, 78%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.1%, 48.5%, 0%, 6.3%)
CIE-LABlab(64.24, 50.34, -46.20)
CIE-LCHlch(64.24, 68.33, 317.45°)
OKLaboklab(71.26% 0.1262 -0.1285)
OKLCHoklch(71.26% 0.18 314.5)
XYZxyz(47.2890, 33.0957, 85.5416)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BEF #9FEF7B
analogous
#917BEF #CB7BEF #EF7BD9
triadic
#CB7BEF #EFCB7B #7BEFCB
tetradic
#CB7BEF #EF917B #9FEF7B #7BD9EF
square
#CB7BEF #EF917B #9FEF7B #7BD9EF
split-complementary
#CB7BEF #D9EF7B #7BEF91
monochromatic
#9B1AD6 #B544E8 #CB7BEF #E1B2F6 #F4E4FC

Accessibility & contrast

On white

2.76
#CB7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CB7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BEF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BEF#FFFFFF#000000##000000
##CB7BEF1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#C88DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7bef;
/* rgb */ color: rgb(203, 123, 239);
/* oklch */ color: oklch(71.3% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#dda3f5',
    500: '#cb7bef',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bef;
$custom-light: #dda3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bef",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 281.379,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71257,
    "c": 0.18011,
    "h": 314.5
  },
  "luminance": 0.33094
}

Semantic roles & 50–950 ramp

primary
#CB7BEF
secondary
#DDF2D3
accent
#DB0B4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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