#CB8FF7#CB8FF7

#CB8FF7 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.8% C 0.157 H 309.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CB8FF7
RGBrgb(203, 143, 247)
HSLhsl(275, 87%, 76%)
HSVhsv(275, 42%, 97%)
CMYKcmyk(17.8%, 42.1%, 0%, 3.1%)
CIE-LABlab(68.79, 41.44, -43.44)
CIE-LCHlch(68.79, 60.04, 313.65°)
OKLaboklab(74.78% 0.0999 -0.1206)
OKLCHoklch(74.78% 0.157 309.6)
XYZxyz(51.2365, 39.0575, 92.8174)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FF7 #BBF78F
analogous
#978FF7 #CB8FF7 #F78FEF
triadic
#CB8FF7 #F7CB8F #8FF7CB
tetradic
#CB8FF7 #F7978F #BBF78F #8FEFF7
square
#CB8FF7 #F7978F #BBF78F #8FEFF7
split-complementary
#CB8FF7 #EFF78F #8FF797
monochromatic
#961DEF #B056F3 #CB8FF7 #E6C8FB #F2E2FD

Accessibility & contrast

On white

2.38
#CB8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CB8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FF7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FF7#FFFFFF#000000##000000
##CB8FF71.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#87A9F4
Tritanopia (blue-blind)
#C69FB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8ff7;
/* rgb */ color: rgb(203, 143, 247);
/* oklch */ color: oklch(74.8% 0.157 309.6);
Tailwind
colors: {
  custom: {
    50: '#dcb1fa',
    500: '#cb8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ff7;
$custom-light: #dcb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ff7",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 274.615,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7478,
    "c": 0.15664,
    "h": 309.6
  },
  "luminance": 0.39057
}

Semantic roles & 50–950 ramp

primary
#CB8FF7
secondary
#E3F5D6
accent
#E30261
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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