#C238B0#C238B0

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

Color values

HEX#C238B0
RGBrgb(194, 56, 176)
HSLhsl(308, 55%, 49%)
HSVhsv(308, 71%, 76%)
CMYKcmyk(0%, 71.1%, 9.3%, 23.9%)
CIE-LABlab(48.80, 66.69, -34.75)
CIE-LCHlch(48.80, 75.19, 332.48°)
OKLaboklab(58.7% 0.1932 -0.0951)
OKLCHoklch(58.7% 0.215 333.8)
XYZxyz(31.4990, 17.4349, 42.7722)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B0 #38C24A
analogous
#8F38C2 #C238B0 #C2386B
triadic
#C238B0 #B0C238 #38B0C2
tetradic
#C238B0 #C28F38 #38C24A #386BC2
square
#C238B0 #C28F38 #38C24A #386BC2
split-complementary
#C238B0 #6BC238 #38C28F
monochromatic
#631D5A #932A85 #C238B0 #D265C4 #E094D6

Accessibility & contrast

On white

4.68
#C238B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C238B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B0#FFFFFF#000000##FFFFFF
##C238B01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#CB4470
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238b0;
/* rgb */ color: rgb(194, 56, 176);
/* oklch */ color: oklch(58.7% 0.215 333.8);
Tailwind
colors: {
  custom: {
    50: '#d87bc8',
    500: '#c238b0',
    950: '#000000',
  },
}
SCSS
$custom: #c238b0;
$custom-light: #d87bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b0",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 307.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.21532,
    "h": 333.8
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C238B0

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

Preview Lab → · Contrast checker → · Palette generator →

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