#C330B2#C330B2

#C330B2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.226 H 333.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C330B2
RGBrgb(195, 48, 178)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 75.4%, 8.7%, 23.5%)
CIE-LABlab(48.18, 69.76, -36.90)
CIE-LCHlch(48.18, 78.91, 332.12°)
OKLaboklab(58.32% 0.2018 -0.1013)
OKLCHoklch(58.32% 0.226 333.3)
XYZxyz(31.5987, 16.9331, 43.7150)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C330B2 #30C341
analogous
#8B30C3 #C330B2 #C33068
triadic
#C330B2 #B2C330 #30B2C3
tetradic
#C330B2 #C38B30 #30C341 #3068C3
square
#C330B2 #C38B30 #30C341 #3068C3
split-complementary
#C330B2 #68C330 #30C38B
monochromatic
#611858 #922485 #C330B2 #D65AC8 #E28BD8

Accessibility & contrast

On white

4.79
#C330B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C330B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C330B2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C330B2#FFFFFF#000000##FFFFFF
##C330B21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#CC3F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c330b2;
/* rgb */ color: rgb(195, 48, 178);
/* oklch */ color: oklch(58.3% 0.226 333.3);
Tailwind
colors: {
  custom: {
    50: '#d978c9',
    500: '#c330b2',
    950: '#000000',
  },
}
SCSS
$custom: #c330b2;
$custom-light: #d978c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c330b2",
  "rgb": {
    "r": 195,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 306.939,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.22574,
    "h": 333.3
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#C330B2
secondary
#82CC8B
accent
#E45744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C330B2

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

Preview Lab → · Contrast checker → · Palette generator →

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