#C238B8#C238B8

#C238B8 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.221 H 331.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C238B8
RGBrgb(194, 56, 184)
HSLhsl(304, 55%, 49%)
HSVhsv(304, 71%, 76%)
CMYKcmyk(0%, 71.1%, 5.2%, 23.9%)
CIE-LABlab(49.20, 67.91, -38.80)
CIE-LCHlch(49.20, 78.22, 330.26°)
OKLaboklab(59.12% 0.1937 -0.1068)
OKLCHoklch(59.12% 0.221 331.1)
XYZxyz(32.3140, 17.7609, 47.0644)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B8 #38C242
analogous
#8738C2 #C238B8 #C23873
triadic
#C238B8 #B8C238 #38B8C2
tetradic
#C238B8 #C28738 #38C242 #3873C2
square
#C238B8 #C28738 #38C242 #3873C2
split-complementary
#C238B8 #73C238 #38C287
monochromatic
#631D5E #932A8B #C238B8 #D265CB #E094DB

Accessibility & contrast

On white

4.61
#C238B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C238B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B8#FFFFFF#000000##FFFFFF
##C238B81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BC
Deuteranopia (green-blind)
#627CB5
Tritanopia (blue-blind)
#CA4874
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c238b8;
/* rgb */ color: rgb(194, 56, 184);
/* oklch */ color: oklch(59.1% 0.221 331.1);
Tailwind
colors: {
  custom: {
    50: '#d87bce',
    500: '#c238b8',
    950: '#000000',
  },
}
SCSS
$custom: #c238b8;
$custom-light: #d87bce;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b8",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 304.348,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.22116,
    "h": 331.1
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#C238B8
secondary
#8ACB8F
accent
#DF5449
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238B8

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

Preview Lab → · Contrast checker → · Palette generator →

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