#CB7BF0#CB7BF0

#CB7BF0 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.3% C 0.181 H 314.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CB7BF0
RGBrgb(203, 123, 240)
HSLhsl(281, 80%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.4%, 48.7%, 0%, 5.9%)
CIE-LABlab(64.29, 50.55, -46.68)
CIE-LCHlch(64.29, 68.81, 317.28°)
OKLaboklab(71.31% 0.1263 -0.1299)
OKLCHoklch(71.31% 0.181 314.2)
XYZxyz(47.4372, 33.1549, 86.3218)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF0 #A0F07B
analogous
#907BF0 #CB7BF0 #F07BDA
triadic
#CB7BF0 #F0CB7B #7BF0CB
tetradic
#CB7BF0 #F0907B #A0F07B #7BDAF0
square
#CB7BF0 #F0907B #A0F07B #7BDAF0
split-complementary
#CB7BF0 #DAF07B #7BF090
monochromatic
#9B19D8 #B544EA #CB7BF0 #E1B2F6 #F4E4FC

Accessibility & contrast

On white

2.75
#CB7BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CB7BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF0
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF0#FFFFFF#000000##000000
##CB7BF01.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F4
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#C88DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7bf0;
/* rgb */ color: rgb(203, 123, 240);
/* oklch */ color: oklch(71.3% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#dda3f5',
    500: '#cb7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf0;
$custom-light: #dda3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf0",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 281.026,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.18119,
    "h": 314.2
  },
  "luminance": 0.33154
}

Semantic roles & 50–950 ramp

primary
#CB7BF0
secondary
#DEF3D4
accent
#DC0A4C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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