#C38DFE#C38DFE

#C38DFE is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.0% C 0.166 H 304.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C38DFE
RGBrgb(195, 141, 254)
HSLhsl(269, 98%, 77%)
HSVhsv(269, 44%, 100%)
CMYKcmyk(23.2%, 44.5%, 0%, 0.4%)
CIE-LABlab(67.88, 41.86, -48.75)
CIE-LCHlch(67.88, 64.26, 310.65°)
OKLaboklab(74.02% 0.0944 -0.1362)
OKLCHoklch(74.02% 0.166 304.7)
XYZxyz(49.9162, 37.8078, 98.4147)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38DFE #C8FE8D
analogous
#8D8FFE #C38DFE #FC8DFE
triadic
#C38DFE #FEC38D #8DFEC3
tetradic
#C38DFE #FE8D8F #C8FE8D #8DFEFC
square
#C38DFE #FE8D8F #C8FE8D #8DFEFC
split-complementary
#C38DFE #FEFC8D #8FFE8D
monochromatic
#8314FD #A350FD #C38DFE #E3CAFF #EFE1FF

Accessibility & contrast

On white

2.45
#C38DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C38DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38DFE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38DFE#FFFFFF#000000##000000
##C38DFE1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#B9A0B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38dfe;
/* rgb */ color: rgb(195, 141, 254);
/* oklch */ color: oklch(74.0% 0.166 304.7);
Tailwind
colors: {
  custom: {
    50: '#d7afff',
    500: '#c38dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c38dfe;
$custom-light: #d7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#c38dfe",
  "rgb": {
    "r": 195,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 268.673,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74015,
    "c": 0.16571,
    "h": 304.7
  },
  "luminance": 0.37808
}

Semantic roles & 50–950 ramp

primary
#C38DFE
secondary
#E6F7D4
accent
#E60078
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C38DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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