#C345AF#C345AF

#C345AF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 60.0% C 0.199 H 334.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C345AF
RGBrgb(195, 69, 175)
HSLhsl(310, 51%, 52%)
HSVhsv(310, 65%, 76%)
CMYKcmyk(0%, 64.6%, 10.3%, 23.5%)
CIE-LABlab(50.64, 61.95, -31.28)
CIE-LCHlch(50.64, 69.40, 333.21°)
OKLaboklab(60.05% 0.1799 -0.0853)
OKLCHoklch(60.05% 0.199 334.6)
XYZxyz(32.3719, 18.9561, 42.5031)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C345AF #45C359
analogous
#9845C3 #C345AF #C34570
triadic
#C345AF #AFC345 #45AFC3
tetradic
#C345AF #C39845 #45C359 #4570C3
square
#C345AF #C39845 #45C359 #4570C3
split-complementary
#C345AF #70C345 #45C398
monochromatic
#6B2360 #993189 #C345AF #D273C3 #E1A2D7

Accessibility & contrast

On white

4.38
#C345AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C345AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C345AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C345AF#FFFFFF#000000##000000
##C345AF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#CC4E74
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c345af;
/* rgb */ color: rgb(195, 69, 175);
/* oklch */ color: oklch(60.0% 0.199 334.6);
Tailwind
colors: {
  custom: {
    50: '#d881c7',
    500: '#c345af',
    950: '#000000',
  },
}
SCSS
$custom: #c345af;
$custom-light: #d881c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c345af",
  "rgb": {
    "r": 195,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 309.524,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.19911,
    "h": 334.6
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#C345AF
secondary
#96CE9F
accent
#DB644D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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