#C238B4#C238B4

#C238B4 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.218 H 332.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C238B4
RGBrgb(194, 56, 180)
HSLhsl(306, 55%, 49%)
HSVhsv(306, 71%, 76%)
CMYKcmyk(0%, 71.1%, 7.2%, 23.9%)
CIE-LABlab(49.00, 67.29, -36.78)
CIE-LCHlch(49.00, 76.69, 331.34°)
OKLaboklab(58.91% 0.1934 -0.101)
OKLCHoklch(58.91% 0.218 332.4)
XYZxyz(31.9006, 17.5956, 44.8873)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B4 #38C246
analogous
#8B38C2 #C238B4 #C2386F
triadic
#C238B4 #B4C238 #38B4C2
tetradic
#C238B4 #C28B38 #38C246 #386FC2
square
#C238B4 #C28B38 #38C246 #386FC2
split-complementary
#C238B4 #6FC238 #38C28B
monochromatic
#631D5C #932A88 #C238B4 #D265C7 #E094D8

Accessibility & contrast

On white

4.65
#C238B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C238B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B4#FFFFFF#000000##FFFFFF
##C238B41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#CA4672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238b4;
/* rgb */ color: rgb(194, 56, 180);
/* oklch */ color: oklch(58.9% 0.218 332.4);
Tailwind
colors: {
  custom: {
    50: '#d87bcb',
    500: '#c238b4',
    950: '#000000',
  },
}
SCSS
$custom: #c238b4;
$custom-light: #d87bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b4",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 306.087,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.21822,
    "h": 332.4
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#C238B4
secondary
#8ACB91
accent
#DF5849
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238B4

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

Preview Lab → · Contrast checker → · Palette generator →

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