#C123BE#C123BE

#C123BE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.8% C 0.244 H 329.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C123BE
RGBrgb(193, 35, 190)
HSLhsl(301, 69%, 45%)
HSVhsv(301, 82%, 76%)
CMYKcmyk(0%, 81.9%, 1.6%, 24.3%)
CIE-LABlab(47.31, 74.52, -45.31)
CIE-LCHlch(47.31, 87.22, 328.70°)
OKLaboklab(57.85% 0.2096 -0.1256)
OKLCHoklch(57.85% 0.244 329.1)
XYZxyz(31.8874, 16.2597, 50.1642)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123BE #23C126
analogous
#7523C1 #C123BE #C1236F
triadic
#C123BE #BEC123 #23BEC1
tetradic
#C123BE #C17523 #23C126 #236FC1
square
#C123BE #C17523 #23C126 #236FC1
split-complementary
#C123BE #6FC123 #23C175
monochromatic
#591058 #8D1A8B #C123BE #DD44DA #E678E4

Accessibility & contrast

On white

4.94
#C123BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C123BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123BE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123BE#FFFFFF#000000##FFFFFF
##C123BE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#C83F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c123be;
/* rgb */ color: rgb(193, 35, 190);
/* oklch */ color: oklch(57.8% 0.244 329.1);
Tailwind
colors: {
  custom: {
    50: '#d874d2',
    500: '#c123be',
    950: '#000000',
  },
}
SCSS
$custom: #c123be;
$custom-light: #d874d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c123be",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 190
  },
  "hsl": {
    "h": 301.139,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.24431,
    "h": 329.1
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#C123BE
secondary
#72CE74
accent
#EC3F3C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C123BE

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

Preview Lab → · Contrast checker → · Palette generator →

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