#C330B1#C330B1

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

Color values

HEX#C330B1
RGBrgb(195, 48, 177)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 75.4%, 9.2%, 23.5%)
CIE-LABlab(48.13, 69.61, -36.39)
CIE-LCHlch(48.13, 78.55, 332.40°)
OKLaboklab(58.26% 0.2017 -0.0998)
OKLCHoklch(58.26% 0.225 333.7)
XYZxyz(31.4987, 16.8931, 43.1882)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C330B1 #30C342
analogous
#8C30C3 #C330B1 #C33067
triadic
#C330B1 #B1C330 #30B1C3
tetradic
#C330B1 #C38C30 #30C342 #3067C3
square
#C330B1 #C38C30 #30C342 #3067C3
split-complementary
#C330B1 #67C330 #30C38C
monochromatic
#611858 #922484 #C330B1 #D65AC7 #E28BD8

Accessibility & contrast

On white

4.80
#C330B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C330B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C330B1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C330B1#FFFFFF#000000##FFFFFF
##C330B11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#637AAE
Tritanopia (blue-blind)
#CC3F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c330b1;
/* rgb */ color: rgb(195, 48, 177);
/* oklch */ color: oklch(58.3% 0.225 333.7);
Tailwind
colors: {
  custom: {
    50: '#d978c9',
    500: '#c330b1',
    950: '#000000',
  },
}
SCSS
$custom: #c330b1;
$custom-light: #d978c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c330b1",
  "rgb": {
    "r": 195,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 307.347,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.22504,
    "h": 333.7
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C330B1

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

Preview Lab → · Contrast checker → · Palette generator →

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