#C38EF8#C38EF8

#C38EF8 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.9% C 0.157 H 306.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C38EF8
RGBrgb(195, 142, 248)
HSLhsl(270, 88%, 76%)
HSVhsv(270, 43%, 97%)
CMYKcmyk(21.4%, 42.7%, 0%, 2.7%)
CIE-LABlab(67.82, 39.96, -45.57)
CIE-LCHlch(67.82, 60.61, 311.24°)
OKLaboklab(73.88% 0.0921 -0.127)
OKLCHoklch(73.88% 0.157 306)
XYZxyz(49.1185, 37.7258, 93.4829)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EF8 #C3F88E
analogous
#8E8EF8 #C38EF8 #F88EF8
triadic
#C38EF8 #F8C38E #8EF8C3
tetradic
#C38EF8 #F88E8E #C3F88E #8EF8F8
square
#C38EF8 #F88E8E #C3F88E #8EF8F8
split-complementary
#C38EF8 #F8F88E #8EF88E
monochromatic
#861BF1 #A454F4 #C38EF8 #E2C8FC #F0E2FD

Accessibility & contrast

On white

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

On black

8.54
#C38EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EF8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EF8#FFFFFF#000000##000000
##C38EF81.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#BB9FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38ef8;
/* rgb */ color: rgb(195, 142, 248);
/* oklch */ color: oklch(73.9% 0.157 306.0);
Tailwind
colors: {
  custom: {
    50: '#d7b0fb',
    500: '#c38ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c38ef8;
$custom-light: #d7b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c38ef8",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73878,
    "c": 0.15687,
    "h": 306
  },
  "luminance": 0.37725
}

Semantic roles & 50–950 ramp

primary
#C38EF8
secondary
#E6F5D6
accent
#E50173
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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