#C138C3#C138C3

#C138C3 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.229 H 327.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C138C3
RGBrgb(193, 56, 195)
HSLhsl(299, 55%, 49%)
HSVhsv(299, 71%, 76%)
CMYKcmyk(1%, 71.3%, 0%, 23.5%)
CIE-LABlab(49.63, 69.45, -44.53)
CIE-LCHlch(49.63, 82.50, 327.33°)
OKLaboklab(59.58% 0.1928 -0.1235)
OKLCHoklch(59.58% 0.229 327.4)
XYZxyz(33.2563, 18.1083, 53.3628)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138C3 #3AC338
analogous
#7C38C3 #C138C3 #C33880
triadic
#C138C3 #C3C138 #38C3C1
tetradic
#C138C3 #C37C38 #3AC338 #3880C3
square
#C138C3 #C37C38 #3AC338 #3880C3
split-complementary
#C138C3 #80C338 #38C37C
monochromatic
#631D64 #922A93 #C138C3 #D165D3 #DF95E1

Accessibility & contrast

On white

4.54
#C138C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C138C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C138C3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138C3#FFFFFF#000000##000000
##C138C31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC7
Deuteranopia (green-blind)
#5B7CC0
Tritanopia (blue-blind)
#C74E7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c138c3;
/* rgb */ color: rgb(193, 56, 195);
/* oklch */ color: oklch(59.6% 0.229 327.4);
Tailwind
colors: {
  custom: {
    50: '#d87cd6',
    500: '#c138c3',
    950: '#000000',
  },
}
SCSS
$custom: #c138c3;
$custom-light: #d87cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c138c3",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 299.137,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.22897,
    "h": 327.4
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#C138C3
secondary
#8CCC8B
accent
#DF494B
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C138C3

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

Preview Lab → · Contrast checker → · Palette generator →

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