#CB8FDF#CB8FDF

#CB8FDF is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.7% C 0.129 H 317.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CB8FDF
RGBrgb(203, 143, 223)
HSLhsl(285, 56%, 72%)
HSVhsv(285, 36%, 87%)
CMYKcmyk(9%, 35.9%, 0%, 12.5%)
CIE-LABlab(67.78, 36.42, -31.83)
CIE-LCHlch(67.78, 48.37, 318.85°)
OKLaboklab(73.68% 0.0951 -0.0873)
OKLCHoklch(73.68% 0.129 317.4)
XYZxyz(47.7684, 37.6703, 74.5525)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FDF #A3DF8F
analogous
#A38FDF #CB8FDF #DF8FCB
triadic
#CB8FDF #DFCB8F #8FDFCB
tetradic
#CB8FDF #DFA38F #A3DF8F #8FCBDF
square
#CB8FDF #DFA38F #A3DF8F #8FCBDF
split-complementary
#CB8FDF #CBDF8F #8FDFA3
monochromatic
#9C36BD #B55FD1 #CB8FDF #E1BFED #F4E7F8

Accessibility & contrast

On white

2.46
#CB8FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CB8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FDF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FDF#FFFFFF#000000##000000
##CB8FDF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E2
Deuteranopia (green-blind)
#92A7DD
Tritanopia (blue-blind)
#CB99AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8fdf;
/* rgb */ color: rgb(203, 143, 223);
/* oklch */ color: oklch(73.7% 0.129 317.4);
Tailwind
colors: {
  custom: {
    50: '#dcb0e9',
    500: '#cb8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fdf;
$custom-light: #dcb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fdf",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 285,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7368,
    "c": 0.1291,
    "h": 317.4
  },
  "luminance": 0.37669
}

Semantic roles & 50–950 ramp

primary
#CB8FDF
secondary
#E0EFDB
accent
#C3224B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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