#C230AF#C230AF

#C230AF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.223 H 334.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C230AF
RGBrgb(194, 48, 175)
HSLhsl(308, 60%, 47%)
HSVhsv(308, 75%, 76%)
CMYKcmyk(0%, 75.3%, 9.8%, 23.9%)
CIE-LABlab(47.86, 69.09, -35.65)
CIE-LCHlch(47.86, 77.75, 332.71°)
OKLaboklab(58.01% 0.2006 -0.0977)
OKLCHoklch(58.01% 0.223 334)
XYZxyz(31.0432, 16.6811, 42.1340)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230AF #30C243
analogous
#8C30C2 #C230AF #C23066
triadic
#C230AF #AFC230 #30AFC2
tetradic
#C230AF #C28C30 #30C243 #3066C2
square
#C230AF #C28C30 #30C243 #3066C2
split-complementary
#C230AF #66C230 #30C28C
monochromatic
#601856 #912483 #C230AF #D659C6 #E28AD7

Accessibility & contrast

On white

4.84
#C230AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C230AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230AF#FFFFFF#000000##FFFFFF
##C230AF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#CB3E6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c230af;
/* rgb */ color: rgb(194, 48, 175);
/* oklch */ color: oklch(58.0% 0.223 334.0);
Tailwind
colors: {
  custom: {
    50: '#d878c7',
    500: '#c230af',
    950: '#000000',
  },
}
SCSS
$custom: #c230af;
$custom-light: #d878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c230af",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 307.808,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.22313,
    "h": 334
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#C230AF
secondary
#82CC8B
accent
#E35944
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230AF

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

Preview Lab → · Contrast checker → · Palette generator →

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