#C38DEC#C38DEC

#C38DEC is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.1% C 0.144 H 309.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C38DEC
RGBrgb(195, 141, 236)
HSLhsl(274, 71%, 74%)
HSVhsv(274, 40%, 93%)
CMYKcmyk(17.4%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.06, 37.85, -40.18)
CIE-LCHlch(67.06, 55.20, 313.29°)
OKLaboklab(73.13% 0.0914 -0.1114)
OKLCHoklch(73.13% 0.144 309.4)
XYZxyz(47.1681, 36.7086, 83.9413)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38DEC #B6EC8D
analogous
#948DEC #C38DEC #EC8DE6
triadic
#C38DEC #ECC38D #8DECC3
tetradic
#C38DEC #EC948D #B6EC8D #8DE6EC
square
#C38DEC #EC948D #B6EC8D #8DE6EC
split-complementary
#C38DEC #E6EC8D #8DEC94
monochromatic
#8C24DA #A759E3 #C38DEC #DFC1F5 #F1E5FB

Accessibility & contrast

On white

2.52
#C38DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#C38DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38DEC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38DEC#FFFFFF#000000##000000
##C38DEC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#BE9BB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c38dec;
/* rgb */ color: rgb(195, 141, 236);
/* oklch */ color: oklch(73.1% 0.144 309.4);
Tailwind
colors: {
  custom: {
    50: '#d6aff2',
    500: '#c38dec',
    950: '#000000',
  },
}
SCSS
$custom: #c38dec;
$custom-light: #d6aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c38dec",
  "rgb": {
    "r": 195,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 274.105,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73129,
    "c": 0.14409,
    "h": 309.4
  },
  "luminance": 0.36708
}

Semantic roles & 50–950 ramp

primary
#C38DEC
secondary
#E4F2D9
accent
#D31266
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C38DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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