#CB7FE3#CB7FE3

#CB7FE3 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.161 H 317.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CB7FE3
RGBrgb(203, 127, 227)
HSLhsl(286, 64%, 69%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.6%, 44.1%, 0%, 11%)
CIE-LABlab(64.50, 45.80, -39.14)
CIE-LCHlch(64.50, 60.25, 319.48°)
OKLaboklab(71.27% 0.1189 -0.1081)
OKLCHoklch(71.27% 0.161 317.7)
XYZxyz(46.0812, 33.4227, 76.6820)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FE3 #97E37F
analogous
#997FE3 #CB7FE3 #E37FC9
triadic
#CB7FE3 #E3CB7F #7FE3CB
tetradic
#CB7FE3 #E3997F #97E37F #7FC9E3
square
#CB7FE3 #E3997F #97E37F #7FC9E3
split-complementary
#CB7FE3 #C9E37F #7FE399
monochromatic
#9A2ABE #B74DD8 #CB7FE3 #DFB1EE #F4E3F9

Accessibility & contrast

On white

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

On black

7.68
#CB7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FE3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FE3#FFFFFF#000000##000000
##CB7FE31.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#CB8CA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7fe3;
/* rgb */ color: rgb(203, 127, 227);
/* oklch */ color: oklch(71.3% 0.161 317.7);
Tailwind
colors: {
  custom: {
    50: '#dca6ec',
    500: '#cb7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fe3;
$custom-light: #dca6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fe3",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 285.6,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.16074,
    "h": 317.7
  },
  "luminance": 0.33421
}

Semantic roles & 50–950 ramp

primary
#CB7FE3
secondary
#D7EDD0
accent
#CC1A44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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