#C150B2#C150B2

#C150B2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.185 H 333.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C150B2
RGBrgb(193, 80, 178)
HSLhsl(308, 48%, 54%)
HSVhsv(308, 59%, 76%)
CMYKcmyk(0%, 58.5%, 7.8%, 24.3%)
CIE-LABlab(52.17, 57.24, -30.67)
CIE-LCHlch(52.17, 64.94, 331.82°)
OKLaboklab(61.15% 0.1646 -0.0837)
OKLCHoklch(61.15% 0.185 333)
XYZxyz(32.8969, 20.2915, 44.2948)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C150B2 #50C15F
analogous
#9750C1 #C150B2 #C15079
triadic
#C150B2 #B2C150 #50B2C1
tetradic
#C150B2 #C19750 #50C15F #5079C1
square
#C150B2 #C19750 #50C15F #5079C1
split-complementary
#C150B2 #79C150 #50C197
monochromatic
#6F2766 #9C378F #C150B2 #D17DC6 #E1AADA

Accessibility & contrast

On white

4.15
#C150B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C150B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C150B2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C150B2#FFFFFF#000000##000000
##C150B21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#C9587A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c150b2;
/* rgb */ color: rgb(193, 80, 178);
/* oklch */ color: oklch(61.1% 0.185 333.0);
Tailwind
colors: {
  custom: {
    50: '#d687c9',
    500: '#c150b2',
    950: '#000000',
  },
}
SCSS
$custom: #c150b2;
$custom-light: #d687c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c150b2",
  "rgb": {
    "r": 193,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 307.965,
    "s": 47.679,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.18463,
    "h": 333
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#C150B2
secondary
#9ECFA5
accent
#D76251
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C150B2

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

Preview Lab → · Contrast checker → · Palette generator →

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