#C330B7#C330B7

#C330B7 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.229 H 331.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C330B7
RGBrgb(195, 48, 183)
HSLhsl(305, 60%, 48%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 75.4%, 6.2%, 23.5%)
CIE-LABlab(48.43, 70.50, -39.42)
CIE-LCHlch(48.43, 80.78, 330.79°)
OKLaboklab(58.58% 0.2019 -0.1085)
OKLCHoklch(58.58% 0.229 331.7)
XYZxyz(32.1099, 17.1376, 46.4073)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C330B7 #30C33C
analogous
#8530C3 #C330B7 #C3306D
triadic
#C330B7 #B7C330 #30B7C3
tetradic
#C330B7 #C38530 #30C33C #306DC3
square
#C330B7 #C38530 #30C33C #306DC3
split-complementary
#C330B7 #6DC330 #30C385
monochromatic
#61185B #922489 #C330B7 #D65ACC #E28BDB

Accessibility & contrast

On white

4.74
#C330B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C330B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C330B7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C330B7#FFFFFF#000000##FFFFFF
##C330B71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#CB4272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c330b7;
/* rgb */ color: rgb(195, 48, 183);
/* oklch */ color: oklch(58.6% 0.229 331.7);
Tailwind
colors: {
  custom: {
    50: '#d978cd',
    500: '#c330b7',
    950: '#000000',
  },
}
SCSS
$custom: #c330b7;
$custom-light: #d978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c330b7",
  "rgb": {
    "r": 195,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 304.898,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.22927,
    "h": 331.7
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#C330B7
secondary
#82CC88
accent
#E45144
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C330B7

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

Preview Lab → · Contrast checker → · Palette generator →

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