#CB8FE7#CB8FE7

#CB8FE7 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.0% C 0.138 H 314.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CB8FE7
RGBrgb(203, 143, 231)
HSLhsl(281, 65%, 73%)
HSVhsv(281, 38%, 91%)
CMYKcmyk(12.1%, 38.1%, 0%, 9.4%)
CIE-LABlab(68.10, 38.06, -35.74)
CIE-LCHlch(68.10, 52.21, 316.80°)
OKLaboklab(74.03% 0.0969 -0.0985)
OKLCHoklch(74.03% 0.138 314.5)
XYZxyz(48.8726, 38.1120, 80.3676)
Luminance0.3811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FE7 #ABE78F
analogous
#9F8FE7 #CB8FE7 #E78FD7
triadic
#CB8FE7 #E7CB8F #8FE7CB
tetradic
#CB8FE7 #E79F8F #ABE78F #8FD7E7
square
#CB8FE7 #E79F8F #ABE78F #8FD7E7
split-complementary
#CB8FE7 #D7E78F #8FE79F
monochromatic
#9B2CCF #B45DDC #CB8FE7 #E2C1F2 #F3E6FA

Accessibility & contrast

On white

2.44
#CB8FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CB8FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FE7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FE7#FFFFFF#000000##000000
##CB8FE71.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2EA
Deuteranopia (green-blind)
#8FA8E4
Tritanopia (blue-blind)
#C99BB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8fe7;
/* rgb */ color: rgb(203, 143, 231);
/* oklch */ color: oklch(74.0% 0.138 314.5);
Tailwind
colors: {
  custom: {
    50: '#dcb1ef',
    500: '#cb8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fe7;
$custom-light: #dcb1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fe7",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 280.909,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74034,
    "c": 0.13812,
    "h": 314.5
  },
  "luminance": 0.38111
}

Semantic roles & 50–950 ramp

primary
#CB8FE7
secondary
#E1F1DA
accent
#CD1952
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CB8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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