#C38DF9#C38DF9

#C38DF9 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.160 H 305.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C38DF9
RGBrgb(195, 141, 249)
HSLhsl(270, 90%, 76%)
HSVhsv(270, 43%, 98%)
CMYKcmyk(21.7%, 43.4%, 0%, 2.4%)
CIE-LABlab(67.64, 40.73, -46.39)
CIE-LCHlch(67.64, 61.73, 311.28°)
OKLaboklab(73.76% 0.0937 -0.1293)
OKLCHoklch(73.76% 0.16 305.9)
XYZxyz(49.1260, 37.4917, 94.2528)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38DF9 #C3F98D
analogous
#8D8DF9 #C38DF9 #F98DF9
triadic
#C38DF9 #F9C38D #8DF9C3
tetradic
#C38DF9 #F98D8D #C3F98D #8DF9F9
square
#C38DF9 #F98D8D #C3F98D #8DF9F9
split-complementary
#C38DF9 #F9F98D #8DF98D
monochromatic
#8619F3 #A453F6 #C38DF9 #E2C7FC #F0E2FD

Accessibility & contrast

On white

2.47
#C38DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#C38DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38DF9
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38DF9#FFFFFF#000000##000000
##C38DF91.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#BB9FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38df9;
/* rgb */ color: rgb(195, 141, 249);
/* oklch */ color: oklch(73.8% 0.160 305.9);
Tailwind
colors: {
  custom: {
    50: '#d7affb',
    500: '#c38df9',
    950: '#000000',
  },
}
SCSS
$custom: #c38df9;
$custom-light: #d7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#c38df9",
  "rgb": {
    "r": 195,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 270,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73763,
    "c": 0.15968,
    "h": 305.9
  },
  "luminance": 0.37491
}

Semantic roles & 50–950 ramp

primary
#C38DF9
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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