#C238B3#C238B3

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

Color values

HEX#C238B3
RGBrgb(194, 56, 179)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 71.1%, 7.7%, 23.9%)
CIE-LABlab(48.95, 67.14, -36.27)
CIE-LCHlch(48.95, 76.31, 331.62°)
OKLaboklab(58.86% 0.1934 -0.0995)
OKLCHoklch(58.86% 0.217 332.8)
XYZxyz(31.7991, 17.5550, 44.3527)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B3 #38C247
analogous
#8C38C2 #C238B3 #C2386E
triadic
#C238B3 #B3C238 #38B3C2
tetradic
#C238B3 #C28C38 #38C247 #386EC2
square
#C238B3 #C28C38 #38C247 #386EC2
split-complementary
#C238B3 #6EC238 #38C28C
monochromatic
#631D5B #932A87 #C238B3 #D265C7 #E094D8

Accessibility & contrast

On white

4.66
#C238B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C238B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B3#FFFFFF#000000##FFFFFF
##C238B31.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#657BB0
Tritanopia (blue-blind)
#CA4672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238b3;
/* rgb */ color: rgb(194, 56, 179);
/* oklch */ color: oklch(58.9% 0.217 332.8);
Tailwind
colors: {
  custom: {
    50: '#d87bca',
    500: '#c238b3',
    950: '#000000',
  },
}
SCSS
$custom: #c238b3;
$custom-light: #d87bca;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b3",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 306.522,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.21749,
    "h": 332.8
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C238B3

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

Preview Lab → · Contrast checker → · Palette generator →

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