#C154B2#C154B2

#C154B2 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.179 H 333.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C154B2
RGBrgb(193, 84, 178)
HSLhsl(308, 47%, 54%)
HSVhsv(308, 56%, 76%)
CMYKcmyk(0%, 56.5%, 7.8%, 24.3%)
CIE-LABlab(52.83, 55.43, -29.63)
CIE-LCHlch(52.83, 62.85, 331.88°)
OKLaboklab(61.64% 0.1593 -0.0807)
OKLCHoklch(61.64% 0.179 333.1)
XYZxyz(33.1985, 20.8948, 44.3954)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154B2 #54C163
analogous
#9A54C1 #C154B2 #C1547C
triadic
#C154B2 #B2C154 #54B2C1
tetradic
#C154B2 #C19A54 #54C163 #547CC1
square
#C154B2 #C19A54 #54C163 #547CC1
split-complementary
#C154B2 #7CC154 #54C19A
monochromatic
#712968 #9E3990 #C154B2 #D181C6 #E2AEDA

Accessibility & contrast

On white

4.06
#C154B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C154B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154B2#FFFFFF#000000##000000
##C154B21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#C95C7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c154b2;
/* rgb */ color: rgb(193, 84, 178);
/* oklch */ color: oklch(61.6% 0.179 333.1);
Tailwind
colors: {
  custom: {
    50: '#d68ac9',
    500: '#c154b2',
    950: '#000000',
  },
}
SCSS
$custom: #c154b2;
$custom-light: #d68ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c154b2",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 308.257,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.1786,
    "h": 333.1
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#C154B2
secondary
#A1D0A8
accent
#D66451
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C154B2

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

Preview Lab → · Contrast checker → · Palette generator →

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