#C238AF#C238AF

#C238AF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.215 H 334.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C238AF
RGBrgb(194, 56, 175)
HSLhsl(308, 55%, 49%)
HSVhsv(308, 71%, 76%)
CMYKcmyk(0%, 71.1%, 9.8%, 23.9%)
CIE-LABlab(48.75, 66.53, -34.23)
CIE-LCHlch(48.75, 74.83, 332.77°)
OKLaboklab(58.65% 0.1931 -0.0937)
OKLCHoklch(58.65% 0.215 334.1)
XYZxyz(31.4004, 17.3955, 42.2530)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238AF #38C24B
analogous
#9038C2 #C238AF #C2386A
triadic
#C238AF #AFC238 #38AFC2
tetradic
#C238AF #C29038 #38C24B #386AC2
square
#C238AF #C29038 #38C24B #386AC2
split-complementary
#C238AF #6AC238 #38C290
monochromatic
#631D59 #932A84 #C238AF #D265C3 #E094D6

Accessibility & contrast

On white

4.69
#C238AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C238AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238AF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238AF#FFFFFF#000000##FFFFFF
##C238AF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#CB446F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238af;
/* rgb */ color: rgb(194, 56, 175);
/* oklch */ color: oklch(58.7% 0.215 334.1);
Tailwind
colors: {
  custom: {
    50: '#d87bc7',
    500: '#c238af',
    950: '#000000',
  },
}
SCSS
$custom: #c238af;
$custom-light: #d87bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c238af",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 308.261,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.21461,
    "h": 334.1
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#C238AF
secondary
#8ACB93
accent
#DF5E49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238AF

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

Preview Lab → · Contrast checker → · Palette generator →

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