#C238AE#C238AE

#C238AE is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.214 H 334.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C238AE
RGBrgb(194, 56, 174)
HSLhsl(309, 55%, 49%)
HSVhsv(309, 71%, 76%)
CMYKcmyk(0%, 71.1%, 10.3%, 23.9%)
CIE-LABlab(48.71, 66.38, -33.72)
CIE-LCHlch(48.71, 74.46, 333.07°)
OKLaboklab(58.6% 0.193 -0.0922)
OKLCHoklch(58.6% 0.214 334.5)
XYZxyz(31.3026, 17.3564, 41.7377)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238AE #38C24C
analogous
#9138C2 #C238AE #C23869
triadic
#C238AE #AEC238 #38AEC2
tetradic
#C238AE #C29138 #38C24C #3869C2
square
#C238AE #C29138 #38C24C #3869C2
split-complementary
#C238AE #69C238 #38C291
monochromatic
#631D59 #932A83 #C238AE #D265C3 #E094D5

Accessibility & contrast

On white

4.70
#C238AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C238AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238AE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238AE#FFFFFF#000000##FFFFFF
##C238AE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#CB446F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238ae;
/* rgb */ color: rgb(194, 56, 174);
/* oklch */ color: oklch(58.6% 0.214 334.5);
Tailwind
colors: {
  custom: {
    50: '#d87bc6',
    500: '#c238ae',
    950: '#000000',
  },
}
SCSS
$custom: #c238ae;
$custom-light: #d87bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c238ae",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 308.696,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.2139,
    "h": 334.5
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#C238AE
secondary
#8ACB94
accent
#DF5F49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238AE

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

Preview Lab → · Contrast checker → · Palette generator →

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