#C38CD4#C38CD4

#C38CD4 is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.9% C 0.118 H 318.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#C38CD4
RGBrgb(195, 140, 212)
HSLhsl(286, 46%, 69%)
HSVhsv(286, 34%, 83%)
CMYKcmyk(8%, 34%, 0%, 16.9%)
CIE-LABlab(65.84, 33.36, -28.80)
CIE-LCHlch(65.84, 44.07, 319.19°)
OKLaboklab(71.88% 0.0876 -0.0788)
OKLCHoklch(71.88% 0.118 318)
XYZxyz(43.7658, 35.1128, 66.7465)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38CD4 #9DD48C
analogous
#9F8CD4 #C38CD4 #D48CC1
triadic
#C38CD4 #D4C38C #8CD4C3
tetradic
#C38CD4 #D49F8C #9DD48C #8CC1D4
square
#C38CD4 #D49F8C #9DD48C #8CC1D4
split-complementary
#C38CD4 #C1D48C #8CD49F
monochromatic
#8E3EA7 #AC5FC3 #C38CD4 #DAB9E5 #F1E5F5

Accessibility & contrast

On white

2.62
#C38CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#C38CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38CD4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38CD4#FFFFFF#000000##000000
##C38CD41.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#829CD7
Deuteranopia (green-blind)
#8FA2D2
Tritanopia (blue-blind)
#C395A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c38cd4;
/* rgb */ color: rgb(195, 140, 212);
/* oklch */ color: oklch(71.9% 0.118 318.0);
Tailwind
colors: {
  custom: {
    50: '#d6aee1',
    500: '#c38cd4',
    950: '#000000',
  },
}
SCSS
$custom: #c38cd4;
$custom-light: #d6aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#c38cd4",
  "rgb": {
    "r": 195,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 285.833,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.11783,
    "h": 318
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#C38CD4
secondary
#D8E8D3
accent
#B92D4E
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C38CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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