#C38DFF#C38DFF

#C38DFF is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.1% C 0.167 H 304.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#C38DFF
RGBrgb(195, 141, 255)
HSLhsl(268, 100%, 78%)
HSVhsv(268, 45%, 100%)
CMYKcmyk(23.5%, 44.7%, 0%, 0%)
CIE-LABlab(67.93, 42.08, -49.23)
CIE-LCHlch(67.93, 64.76, 310.53°)
OKLaboklab(74.07% 0.0945 -0.1376)
OKLCHoklch(74.07% 0.167 304.5)
XYZxyz(50.0767, 37.8721, 99.2603)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38DFF #C9FF8D
analogous
#8D90FF #C38DFF #FC8DFF
triadic
#C38DFF #FFC38D #8DFFC3
tetradic
#C38DFF #FF8D90 #C9FF8D #8DFFFC
square
#C38DFF #FF8D90 #C9FF8D #8DFFFC
split-complementary
#C38DFF #FFFC8D #90FF8D
monochromatic
#8313FF #A350FF #C38DFF #E3CAFF #EFE0FF

Accessibility & contrast

On white

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

On black

8.57
#C38DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38DFF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38DFF#FFFFFF#000000##000000
##C38DFF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c38dff;
/* rgb */ color: rgb(195, 141, 255);
/* oklch */ color: oklch(74.1% 0.167 304.5);
Tailwind
colors: {
  custom: {
    50: '#d7afff',
    500: '#c38dff',
    950: '#000000',
  },
}
SCSS
$custom: #c38dff;
$custom-light: #d7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#c38dff",
  "rgb": {
    "r": 195,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 268.421,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.16691,
    "h": 304.5
  },
  "luminance": 0.37872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C38DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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