#C151D7#C151D7

#C151D7 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.2% C 0.215 H 320.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C151D7
RGBrgb(193, 81, 215)
HSLhsl(290, 63%, 58%)
HSVhsv(290, 62%, 84%)
CMYKcmyk(10.2%, 62.3%, 0%, 15.7%)
CIE-LABlab(54.17, 63.30, -48.79)
CIE-LCHlch(54.17, 79.92, 322.38°)
OKLaboklab(63.2% 0.1664 -0.136)
OKLCHoklch(63.2% 0.215 320.7)
XYZxyz(37.1991, 22.1304, 66.5890)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151D7 #67D751
analogous
#7E51D7 #C151D7 #D751AA
triadic
#C151D7 #D7C151 #51D7C1
tetradic
#C151D7 #D77E51 #67D751 #51AAD7
square
#C151D7 #D77E51 #67D751 #51AAD7
split-complementary
#C151D7 #AAD751 #51D77E
monochromatic
#7B208D #A72CBF #C151D7 #D383E2 #E4B5EE

Accessibility & contrast

On white

3.87
#C151D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#C151D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151D7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151D7#FFFFFF#000000##000000
##C151D71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADB
Deuteranopia (green-blind)
#5E86D4
Tritanopia (blue-blind)
#C2678D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c151d7;
/* rgb */ color: rgb(193, 81, 215);
/* oklch */ color: oklch(63.2% 0.215 320.7);
Tailwind
colors: {
  custom: {
    50: '#d789e4',
    500: '#c151d7',
    950: '#000000',
  },
}
SCSS
$custom: #c151d7;
$custom-light: #d789e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c151d7",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 290.149,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63204,
    "c": 0.21491,
    "h": 320.7
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#C151D7
secondary
#B0DDA7
accent
#E6425D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C151D7

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

Preview Lab → · Contrast checker → · Palette generator →

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