#C235C2#C235C2

#C235C2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.232 H 328.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C235C2
RGBrgb(194, 53, 194)
HSLhsl(300, 57%, 48%)
HSVhsv(300, 73%, 76%)
CMYKcmyk(0%, 72.7%, 0%, 23.9%)
CIE-LABlab(49.39, 70.48, -44.32)
CIE-LCHlch(49.39, 83.26, 327.84°)
OKLaboklab(59.43% 0.1967 -0.1228)
OKLCHoklch(59.43% 0.232 328)
XYZxyz(33.2584, 17.9130, 52.7343)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C235C2 #35C235
analogous
#7B35C2 #C235C2 #C2357B
triadic
#C235C2 #C2C235 #35C2C2
tetradic
#C235C2 #C27B35 #35C235 #357BC2
square
#C235C2 #C27B35 #35C235 #357BC2
split-complementary
#C235C2 #7BC235 #35C27B
monochromatic
#621B62 #922892 #C235C2 #D460D4 #E191E1

Accessibility & contrast

On white

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

On black

4.58
#C235C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C235C2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C235C2#FFFFFF#000000##000000
##C235C21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#186AC6
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#C84B79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c235c2;
/* rgb */ color: rgb(194, 53, 194);
/* oklch */ color: oklch(59.4% 0.232 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87bd5',
    500: '#c235c2',
    950: '#000000',
  },
}
SCSS
$custom: #c235c2;
$custom-light: #d87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c235c2",
  "rgb": {
    "r": 194,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.23185,
    "h": 328
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#C235C2
secondary
#87CC87
accent
#E04747
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C235C2

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

Preview Lab → · Contrast checker → · Palette generator →

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