#C231CA#C231CA

#C231CA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.6% C 0.242 H 325.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C231CA
RGBrgb(194, 49, 202)
HSLhsl(297, 61%, 49%)
HSVhsv(297, 76%, 79%)
CMYKcmyk(4%, 75.7%, 0%, 20.8%)
CIE-LABlab(49.41, 73.00, -48.91)
CIE-LCHlch(49.41, 87.87, 326.18°)
OKLaboklab(59.59% 0.1999 -0.1361)
OKLCHoklch(59.59% 0.242 325.7)
XYZxyz(34.0064, 17.9325, 57.5359)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231CA #39CA31
analogous
#7631CA #C231CA #CA3186
triadic
#C231CA #CAC231 #31CAC2
tetradic
#C231CA #CA7631 #39CA31 #3186CA
square
#C231CA #CA7631 #39CA31 #3186CA
split-complementary
#C231CA #86CA31 #31CA76
monochromatic
#631967 #932599 #C231CA #D260D8 #E091E4

Accessibility & contrast

On white

4.58
#C231CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C231CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C231CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231CA#FFFFFF#000000##000000
##C231CA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#C74D7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c231ca;
/* rgb */ color: rgb(194, 49, 202);
/* oklch */ color: oklch(59.6% 0.242 325.7);
Tailwind
colors: {
  custom: {
    50: '#d979db',
    500: '#c231ca',
    950: '#000000',
  },
}
SCSS
$custom: #c231ca;
$custom-light: #d979db;
$custom-dark: #000000;
JSON
{
  "hex": "#c231ca",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 296.863,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.24182,
    "h": 325.7
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#C231CA
secondary
#8BCF88
accent
#E4444C
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C231CA

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

Preview Lab → · Contrast checker → · Palette generator →

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