#C34BC7#C34BC7

#C34BC7 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.210 H 326.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C34BC7
RGBrgb(195, 75, 199)
HSLhsl(298, 53%, 54%)
HSVhsv(298, 62%, 78%)
CMYKcmyk(2%, 62.3%, 0%, 22%)
CIE-LABlab(52.69, 63.45, -41.98)
CIE-LCHlch(52.69, 76.07, 326.51°)
OKLaboklab(61.92% 0.1751 -0.1161)
OKLCHoklch(61.92% 0.21 326.4)
XYZxyz(35.3299, 20.7600, 56.1680)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C34BC7 #4FC74B
analogous
#854BC7 #C34BC7 #C74B8D
triadic
#C34BC7 #C7C34B #4BC7C3
tetradic
#C34BC7 #C7854B #4FC74B #4B8DC7
square
#C34BC7 #C7854B #4FC74B #4B8DC7
split-complementary
#C34BC7 #8DC74B #4BC785
monochromatic
#712474 #9F32A2 #C34BC7 #D37AD6 #E2A8E4

Accessibility & contrast

On white

4.08
#C34BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C34BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C34BC7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C34BC7#FFFFFF#000000##000000
##C34BC71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#C85C82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c34bc7;
/* rgb */ color: rgb(195, 75, 199);
/* oklch */ color: oklch(61.9% 0.210 326.4);
Tailwind
colors: {
  custom: {
    50: '#d885d8',
    500: '#c34bc7',
    950: '#000000',
  },
}
SCSS
$custom: #c34bc7;
$custom-light: #d885d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c34bc7",
  "rgb": {
    "r": 195,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 298.065,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.21008,
    "h": 326.4
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#C34BC7
secondary
#9ED19C
accent
#DC4C50
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C34BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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