#C238C7#C238C7

#C238C7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.233 H 326.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C238C7
RGBrgb(194, 56, 199)
HSLhsl(298, 56%, 50%)
HSVhsv(298, 72%, 78%)
CMYKcmyk(2.5%, 71.9%, 0%, 22%)
CIE-LABlab(50.01, 70.33, -46.24)
CIE-LCHlch(50.01, 84.16, 326.68°)
OKLaboklab(59.96% 0.1939 -0.1284)
OKLCHoklch(59.96% 0.233 326.5)
XYZxyz(33.9705, 18.4235, 55.7886)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238C7 #3DC738
analogous
#7A38C7 #C238C7 #C73885
triadic
#C238C7 #C7C238 #38C7C2
tetradic
#C238C7 #C77A38 #3DC738 #3885C7
square
#C238C7 #C77A38 #3DC738 #3885C7
split-complementary
#C238C7 #85C738 #38C77A
monochromatic
#651D67 #932B97 #C238C7 #D168D4 #DF98E2

Accessibility & contrast

On white

4.48
#C238C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C238C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238C7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238C7#FFFFFF#000000##000000
##C238C71.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#146CCB
Deuteranopia (green-blind)
#5A7DC3
Tritanopia (blue-blind)
#C74F7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c238c7;
/* rgb */ color: rgb(194, 56, 199);
/* oklch */ color: oklch(60.0% 0.233 326.5);
Tailwind
colors: {
  custom: {
    50: '#d87cd8',
    500: '#c238c7',
    950: '#000000',
  },
}
SCSS
$custom: #c238c7;
$custom-light: #d87cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c238c7",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 297.902,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.23253,
    "h": 326.5
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#C238C7
secondary
#90CD8D
accent
#DF484E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C238C7

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

Preview Lab → · Contrast checker → · Palette generator →

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