#C238BA#C238BA

#C238BA is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.223 H 330.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C238BA
RGBrgb(194, 56, 186)
HSLhsl(303, 55%, 49%)
HSVhsv(303, 71%, 76%)
CMYKcmyk(0%, 71.1%, 4.1%, 23.9%)
CIE-LABlab(49.31, 68.23, -39.80)
CIE-LCHlch(49.31, 78.99, 329.74°)
OKLaboklab(59.23% 0.1937 -0.1097)
OKLCHoklch(59.23% 0.223 330.5)
XYZxyz(32.5251, 17.8454, 48.1763)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238BA #38C240
analogous
#8538C2 #C238BA #C23875
triadic
#C238BA #BAC238 #38BAC2
tetradic
#C238BA #C28538 #38C240 #3875C2
square
#C238BA #C28538 #38C240 #3875C2
split-complementary
#C238BA #75C238 #38C285
monochromatic
#631D5F #932A8C #C238BA #D265CC #E094DC

Accessibility & contrast

On white

4.60
#C238BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C238BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C238BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238BA#FFFFFF#000000##FFFFFF
##C238BA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#C94975
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c238ba;
/* rgb */ color: rgb(194, 56, 186);
/* oklch */ color: oklch(59.2% 0.223 330.5);
Tailwind
colors: {
  custom: {
    50: '#d87ccf',
    500: '#c238ba',
    950: '#000000',
  },
}
SCSS
$custom: #c238ba;
$custom-light: #d87ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c238ba",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 303.478,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.22264,
    "h": 330.5
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#C238BA
secondary
#8ACB8E
accent
#DF5249
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C238BA

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

Preview Lab → · Contrast checker → · Palette generator →

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