#C237C2#C237C2

#C237C2 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.230 H 328.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C237C2
RGBrgb(194, 55, 194)
HSLhsl(300, 56%, 49%)
HSVhsv(300, 72%, 76%)
CMYKcmyk(0%, 71.6%, 0%, 23.9%)
CIE-LABlab(49.62, 69.84, -43.96)
CIE-LCHlch(49.62, 82.52, 327.81°)
OKLaboklab(59.59% 0.1948 -0.1218)
OKLCHoklch(59.59% 0.23 328)
XYZxyz(33.3515, 18.0992, 52.7653)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237C2 #37C237
analogous
#7D37C2 #C237C2 #C2377D
triadic
#C237C2 #C2C237 #37C2C2
tetradic
#C237C2 #C27D37 #37C237 #377DC2
square
#C237C2 #C27D37 #37C237 #377DC2
split-complementary
#C237C2 #7DC237 #37C27D
monochromatic
#631C63 #922992 #C237C2 #D363D3 #E093E0

Accessibility & contrast

On white

4.55
#C237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C237C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C237C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237C2#FFFFFF#000000##000000
##C237C21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#C84C7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c237c2;
/* rgb */ color: rgb(194, 55, 194);
/* oklch */ color: oklch(59.6% 0.230 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87bd5',
    500: '#c237c2',
    950: '#000000',
  },
}
SCSS
$custom: #c237c2;
$custom-light: #d87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c237c2",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.22976,
    "h": 328
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#C237C2
secondary
#89CB89
accent
#DF4949
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C237C2

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

Preview Lab → · Contrast checker → · Palette generator →

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