#CB7FF1#CB7FF1

#CB7FF1 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.176 H 313.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CB7FF1
RGBrgb(203, 127, 241)
HSLhsl(280, 80%, 72%)
HSVhsv(280, 47%, 95%)
CMYKcmyk(15.8%, 47.3%, 0%, 5.5%)
CIE-LABlab(65.14, 48.68, -45.88)
CIE-LCHlch(65.14, 66.89, 316.69°)
OKLaboklab(71.96% 0.121 -0.1276)
OKLCHoklch(71.96% 0.176 313.5)
XYZxyz(48.0925, 34.2273, 87.2751)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FF1 #A5F17F
analogous
#927FF1 #CB7FF1 #F17FDE
triadic
#CB7FF1 #F1CB7F #7FF1CB
tetradic
#CB7FF1 #F1927F #A5F17F #7FDEF1
square
#CB7FF1 #F1927F #A5F17F #7FDEF1
split-complementary
#CB7FF1 #DEF17F #7FF192
monochromatic
#9C18DD #B548EB #CB7FF1 #E1B6F7 #F4E3FC

Accessibility & contrast

On white

2.68
#CB7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CB7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FF1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FF1#FFFFFF#000000##000000
##CB7FF11.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#C890AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ff1;
/* rgb */ color: rgb(203, 127, 241);
/* oklch */ color: oklch(72.0% 0.176 313.5);
Tailwind
colors: {
  custom: {
    50: '#dda6f6',
    500: '#cb7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ff1;
$custom-light: #dda6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ff1",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 280,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7196,
    "c": 0.17586,
    "h": 313.5
  },
  "luminance": 0.34226
}

Semantic roles & 50–950 ramp

primary
#CB7FF1
secondary
#E1F4D7
accent
#DD094F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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