#C38DFD#C38DFD

#C38DFD is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.165 H 305.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C38DFD
RGBrgb(195, 141, 253)
HSLhsl(269, 97%, 77%)
HSVhsv(269, 44%, 99%)
CMYKcmyk(22.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(67.83, 41.63, -48.28)
CIE-LCHlch(67.83, 63.75, 310.77°)
OKLaboklab(73.96% 0.0943 -0.1348)
OKLCHoklch(73.96% 0.165 305)
XYZxyz(49.7565, 37.7440, 97.5735)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38DFD #C7FD8D
analogous
#8D8FFD #C38DFD #FB8DFD
triadic
#C38DFD #FDC38D #8DFDC3
tetradic
#C38DFD #FD8D8F #C7FD8D #8DFDFB
square
#C38DFD #FD8D8F #C7FD8D #8DFDFB
split-complementary
#C38DFD #FDFB8D #8FFD8D
monochromatic
#8415FB #A351FC #C38DFD #E3C9FE #EFE1FE

Accessibility & contrast

On white

2.46
#C38DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C38DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38DFD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38DFD#FFFFFF#000000##000000
##C38DFD1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#BAA0B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38dfd;
/* rgb */ color: rgb(195, 141, 253);
/* oklch */ color: oklch(74.0% 0.165 305.0);
Tailwind
colors: {
  custom: {
    50: '#d7affe',
    500: '#c38dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c38dfd;
$custom-light: #d7affe;
$custom-dark: #000000;
JSON
{
  "hex": "#c38dfd",
  "rgb": {
    "r": 195,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 268.929,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73964,
    "c": 0.1645,
    "h": 305
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

primary
#C38DFD
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C38DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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