#C38EFE#C38EFE

#C38EFE is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.2% C 0.164 H 304.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#C38EFE
RGBrgb(195, 142, 254)
HSLhsl(268, 98%, 78%)
HSVhsv(268, 44%, 100%)
CMYKcmyk(23.2%, 44.1%, 0%, 0.4%)
CIE-LABlab(68.10, 41.31, -48.41)
CIE-LCHlch(68.10, 63.64, 310.48°)
OKLaboklab(74.18% 0.093 -0.1352)
OKLCHoklch(74.18% 0.164 304.5)
XYZxyz(50.0643, 38.1041, 98.4641)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EFE #C9FE8E
analogous
#8E91FE #C38EFE #FB8EFE
triadic
#C38EFE #FEC38E #8EFEC3
tetradic
#C38EFE #FE8E91 #C9FE8E #8EFEFB
square
#C38EFE #FE8E91 #C9FE8E #8EFEFB
split-complementary
#C38EFE #FEFB8E #91FE8E
monochromatic
#8315FD #A351FD #C38EFE #E3CBFF #EFE1FF

Accessibility & contrast

On white

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

On black

8.62
#C38EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EFE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EFE#FFFFFF#000000##000000
##C38EFE1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c38efe;
/* rgb */ color: rgb(195, 142, 254);
/* oklch */ color: oklch(74.2% 0.164 304.5);
Tailwind
colors: {
  custom: {
    50: '#d7b0ff',
    500: '#c38efe',
    950: '#000000',
  },
}
SCSS
$custom: #c38efe;
$custom-light: #d7b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c38efe",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 268.393,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74179,
    "c": 0.16412,
    "h": 304.5
  },
  "luminance": 0.38104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C38EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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