#C148B7#C148B7

#C148B7 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.5% C 0.200 H 331.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C148B7
RGBrgb(193, 72, 183)
HSLhsl(305, 49%, 52%)
HSVhsv(305, 63%, 76%)
CMYKcmyk(0%, 62.7%, 5.2%, 24.3%)
CIE-LABlab(51.14, 61.50, -35.17)
CIE-LCHlch(51.14, 70.84, 330.23°)
OKLaboklab(60.48% 0.1752 -0.0965)
OKLCHoklch(60.48% 0.2 331.1)
XYZxyz(32.8568, 19.3935, 46.8033)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C148B7 #48C152
analogous
#8F48C1 #C148B7 #C1487A
triadic
#C148B7 #B7C148 #48B7C1
tetradic
#C148B7 #C18F48 #48C152 #487AC1
square
#C148B7 #C18F48 #48C152 #487AC1
split-complementary
#C148B7 #7AC148 #48C18F
monochromatic
#6B2465 #983490 #C148B7 #D076C9 #E0A3DB

Accessibility & contrast

On white

4.30
#C148B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C148B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C148B7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C148B7#FFFFFF#000000##000000
##C148B71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#C85479
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c148b7;
/* rgb */ color: rgb(193, 72, 183);
/* oklch */ color: oklch(60.5% 0.200 331.1);
Tailwind
colors: {
  custom: {
    50: '#d783cd',
    500: '#c148b7',
    950: '#000000',
  },
}
SCSS
$custom: #c148b7;
$custom-light: #d783cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c148b7",
  "rgb": {
    "r": 193,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 304.959,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.19999,
    "h": 331.1
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#C148B7
secondary
#98CD9C
accent
#D95A4F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C148B7

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

Preview Lab → · Contrast checker → · Palette generator →

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