#C330B5#C330B5

#C330B5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.228 H 332.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C330B5
RGBrgb(195, 48, 181)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 75.4%, 7.2%, 23.5%)
CIE-LABlab(48.33, 70.20, -38.41)
CIE-LCHlch(48.33, 80.03, 331.31°)
OKLaboklab(58.48% 0.2019 -0.1056)
OKLCHoklch(58.48% 0.228 332.4)
XYZxyz(31.9032, 17.0549, 45.3188)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C330B5 #30C33E
analogous
#8730C3 #C330B5 #C3306C
triadic
#C330B5 #B5C330 #30B5C3
tetradic
#C330B5 #C38730 #30C33E #306CC3
square
#C330B5 #C38730 #30C33E #306CC3
split-complementary
#C330B5 #6CC330 #30C387
monochromatic
#61185A #922487 #C330B5 #D65ACA #E28BDA

Accessibility & contrast

On white

4.76
#C330B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C330B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C330B5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C330B5#FFFFFF#000000##FFFFFF
##C330B51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666B9
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#CB4170
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c330b5;
/* rgb */ color: rgb(195, 48, 181);
/* oklch */ color: oklch(58.5% 0.228 332.4);
Tailwind
colors: {
  custom: {
    50: '#d978cb',
    500: '#c330b5',
    950: '#000000',
  },
}
SCSS
$custom: #c330b5;
$custom-light: #d978cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c330b5",
  "rgb": {
    "r": 195,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 305.714,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58476,
    "c": 0.22785,
    "h": 332.4
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#C330B5
secondary
#82CC89
accent
#E45344
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C330B5

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

Preview Lab → · Contrast checker → · Palette generator →

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