#C135B2#C135B2

#C135B2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.220 H 332.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C135B2
RGBrgb(193, 53, 178)
HSLhsl(306, 57%, 48%)
HSVhsv(306, 73%, 76%)
CMYKcmyk(0%, 72.5%, 7.8%, 24.3%)
CIE-LABlab(48.39, 67.76, -36.59)
CIE-LCHlch(48.39, 77.00, 331.63°)
OKLaboklab(58.4% 0.1952 -0.1004)
OKLCHoklch(58.4% 0.22 332.8)
XYZxyz(31.3014, 17.1006, 43.7630)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C135B2 #35C144
analogous
#8A35C1 #C135B2 #C1356C
triadic
#C135B2 #B2C135 #35B2C1
tetradic
#C135B2 #C18A35 #35C144 #356CC1
square
#C135B2 #C18A35 #35C144 #356CC1
split-complementary
#C135B2 #6CC135 #35C18A
monochromatic
#611B59 #912886 #C135B2 #D360C7 #E090D8

Accessibility & contrast

On white

4.75
#C135B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C135B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C135B2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C135B2#FFFFFF#000000##FFFFFF
##C135B21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#C94470
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c135b2;
/* rgb */ color: rgb(193, 53, 178);
/* oklch */ color: oklch(58.4% 0.220 332.8);
Tailwind
colors: {
  custom: {
    50: '#d87ac9',
    500: '#c135b2',
    950: '#000000',
  },
}
SCSS
$custom: #c135b2;
$custom-light: #d87ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c135b2",
  "rgb": {
    "r": 193,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 306.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58405,
    "c": 0.21953,
    "h": 332.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#C135B2
secondary
#87CB8E
accent
#E05848
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C135B2

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

Preview Lab → · Contrast checker → · Palette generator →

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