#C438B2#C438B2

#C438B2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.218 H 333.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C438B2
RGBrgb(196, 56, 178)
HSLhsl(308, 56%, 49%)
HSVhsv(308, 71%, 77%)
CMYKcmyk(0%, 71.4%, 9.2%, 23.1%)
CIE-LABlab(49.23, 67.45, -35.23)
CIE-LCHlch(49.23, 76.10, 332.42°)
OKLaboklab(59.11% 0.1953 -0.0965)
OKLCHoklch(59.11% 0.218 333.7)
XYZxyz(32.2152, 17.7812, 43.8463)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C438B2 #38C44A
analogous
#9038C4 #C438B2 #C4386C
triadic
#C438B2 #B2C438 #38B2C4
tetradic
#C438B2 #C49038 #38C44A #386CC4
square
#C438B2 #C49038 #38C44A #386CC4
split-complementary
#C438B2 #6CC438 #38C490
monochromatic
#651D5C #942A87 #C438B2 #D366C5 #E196D7

Accessibility & contrast

On white

4.61
#C438B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C438B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C438B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C438B2#FFFFFF#000000##FFFFFF
##C438B21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#CD4571
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c438b2;
/* rgb */ color: rgb(196, 56, 178);
/* oklch */ color: oklch(59.1% 0.218 333.7);
Tailwind
colors: {
  custom: {
    50: '#da7cc9',
    500: '#c438b2',
    950: '#000000',
  },
}
SCSS
$custom: #c438b2;
$custom-light: #da7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c438b2",
  "rgb": {
    "r": 196,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 307.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.21786,
    "h": 333.7
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#C438B2
secondary
#8CCC94
accent
#DF5C49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C438B2

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

Preview Lab → · Contrast checker → · Palette generator →

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