#C287BD#C287BD

#C287BD is a light, moderate purple. Relative luminance 0.325; OKLCH L 70.0% C 0.102 H 329.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C287BD
RGBrgb(194, 135, 189)
HSLhsl(305, 33%, 65%)
HSVhsv(305, 30%, 76%)
CMYKcmyk(0%, 30.4%, 2.6%, 23.9%)
CIE-LABlab(63.73, 31.32, -19.15)
CIE-LCHlch(63.73, 36.72, 328.56°)
OKLaboklab(69.97% 0.0878 -0.0516)
OKLCHoklch(69.97% 0.102 329.5)
XYZxyz(40.0967, 32.4729, 52.2900)
Luminance0.3247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287BD #87C28C
analogous
#AA87C2 #C287BD #C287A0
triadic
#C287BD #BDC287 #87BDC2
tetradic
#C287BD #C2AA87 #87C28C #87A0C2
square
#C287BD #C2AA87 #87C28C #87A0C2
split-complementary
#C287BD #A0C287 #87C2AA
monochromatic
#894683 #AD5EA7 #C287BD #D7B0D3 #EBD8EA

Accessibility & contrast

On white

2.80
#C287BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#C287BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287BD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287BD#FFFFFF#000000##000000
##C287BD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8596BF
Deuteranopia (green-blind)
#939DBB
Tritanopia (blue-blind)
#C68B9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c287bd;
/* rgb */ color: rgb(194, 135, 189);
/* oklch */ color: oklch(70.0% 0.102 329.5);
Tailwind
colors: {
  custom: {
    50: '#d5aad1',
    500: '#c287bd',
    950: '#000000',
  },
}
SCSS
$custom: #c287bd;
$custom-light: #d5aad1;
$custom-dark: #000000;
JSON
{
  "hex": "#c287bd",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 305.085,
    "s": 32.597,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.10185,
    "h": 329.5
  },
  "luminance": 0.32471
}

Semantic roles & 50–950 ramp

primary
#C287BD
secondary
#C8DDCA
accent
#AB443A
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#141014
muted
#837F82

Preview Lab

Preview with #C287BD

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

Preview Lab → · Contrast checker → · Palette generator →

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