#C334BF#C334BF

#C334BF is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.231 H 329.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C334BF
RGBrgb(195, 52, 191)
HSLhsl(302, 58%, 48%)
HSVhsv(302, 73%, 76%)
CMYKcmyk(0%, 73.3%, 2.1%, 23.5%)
CIE-LABlab(49.28, 70.53, -42.75)
CIE-LCHlch(49.28, 82.47, 328.78°)
OKLaboklab(59.33% 0.1986 -0.1182)
OKLCHoklch(59.33% 0.231 329.2)
XYZxyz(33.1374, 17.8222, 50.9748)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334BF #34C338
analogous
#7F34C3 #C334BF #C33477
triadic
#C334BF #BFC334 #34BFC3
tetradic
#C334BF #C37F34 #34C338 #3477C3
square
#C334BF #C37F34 #34C338 #3477C3
split-complementary
#C334BF #77C334 #34C37F
monochromatic
#621A60 #932790 #C334BF #D560D1 #E190DF

Accessibility & contrast

On white

4.60
#C334BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C334BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C334BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334BF#FFFFFF#000000##FFFFFF
##C334BF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#CA4977
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c334bf;
/* rgb */ color: rgb(195, 52, 191);
/* oklch */ color: oklch(59.3% 0.231 329.2);
Tailwind
colors: {
  custom: {
    50: '#d97ad3',
    500: '#c334bf',
    950: '#000000',
  },
}
SCSS
$custom: #c334bf;
$custom-light: #d97ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#c334bf",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 301.678,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.2311,
    "h": 329.2
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#C334BF
secondary
#87CC89
accent
#E14B47
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C334BF

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

Preview Lab → · Contrast checker → · Palette generator →

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