#C38EFD#C38EFD

#C38EFD is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.1% C 0.163 H 304.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C38EFD
RGBrgb(195, 142, 253)
HSLhsl(269, 97%, 77%)
HSVhsv(269, 44%, 99%)
CMYKcmyk(22.9%, 43.9%, 0%, 0.8%)
CIE-LABlab(68.05, 41.08, -47.94)
CIE-LCHlch(68.05, 63.14, 310.60°)
OKLaboklab(74.13% 0.0929 -0.1338)
OKLCHoklch(74.13% 0.163 304.8)
XYZxyz(49.9046, 38.0402, 97.6229)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EFD #C8FD8E
analogous
#8E90FD #C38EFD #FB8EFD
triadic
#C38EFD #FDC38E #8EFDC3
tetradic
#C38EFD #FD8E90 #C8FD8E #8EFDFB
square
#C38EFD #FD8E90 #C8FD8E #8EFDFB
split-complementary
#C38EFD #FDFB8E #90FD8E
monochromatic
#8316FB #A352FC #C38EFD #E3CAFE #EFE1FE

Accessibility & contrast

On white

2.44
#C38EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#C38EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EFD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EFD#FFFFFF#000000##000000
##C38EFD1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#BAA1BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c38efd;
/* rgb */ color: rgb(195, 142, 253);
/* oklch */ color: oklch(74.1% 0.163 304.8);
Tailwind
colors: {
  custom: {
    50: '#d7b0fe',
    500: '#c38efd',
    950: '#000000',
  },
}
SCSS
$custom: #c38efd;
$custom-light: #d7b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c38efd",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 268.649,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74128,
    "c": 0.16291,
    "h": 304.8
  },
  "luminance": 0.3804
}

Semantic roles & 50–950 ramp

primary
#C38EFD
secondary
#E6F7D4
accent
#E60078
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C38EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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