#C258B2#C258B2

#C258B2 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.3% C 0.173 H 333.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C258B2
RGBrgb(194, 88, 178)
HSLhsl(309, 46%, 55%)
HSVhsv(309, 55%, 76%)
CMYKcmyk(0%, 54.6%, 8.2%, 23.9%)
CIE-LABlab(53.67, 53.84, -28.32)
CIE-LCHlch(53.67, 60.84, 332.26°)
OKLaboklab(62.29% 0.155 -0.077)
OKLCHoklch(62.29% 0.173 333.6)
XYZxyz(33.7738, 21.6655, 44.5138)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C258B2 #58C268
analogous
#9D58C2 #C258B2 #C2587D
triadic
#C258B2 #B2C258 #58B2C2
tetradic
#C258B2 #C29D58 #58C268 #587DC2
square
#C258B2 #C29D58 #58C268 #587DC2
split-complementary
#C258B2 #7DC258 #58C29D
monochromatic
#752B6A #A23B92 #C258B2 #D285C7 #E3B2DB

Accessibility & contrast

On white

3.94
#C258B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C258B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C258B2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C258B2#FFFFFF#000000##000000
##C258B21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#CA5F7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c258b2;
/* rgb */ color: rgb(194, 88, 178);
/* oklch */ color: oklch(62.3% 0.173 333.6);
Tailwind
colors: {
  custom: {
    50: '#d78cc9',
    500: '#c258b2',
    950: '#000000',
  },
}
SCSS
$custom: #c258b2;
$custom-light: #d78cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c258b2",
  "rgb": {
    "r": 194,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 309.057,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62285,
    "c": 0.17309,
    "h": 333.6
  },
  "luminance": 0.21663
}

Semantic roles & 50–950 ramp

primary
#C258B2
secondary
#A5D1AB
accent
#D66652
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C258B2

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

Preview Lab → · Contrast checker → · Palette generator →

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