#C38EF6#C38EF6

#C38EF6 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.8% C 0.154 H 306.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C38EF6
RGBrgb(195, 142, 246)
HSLhsl(271, 85%, 76%)
HSVhsv(271, 42%, 96%)
CMYKcmyk(20.7%, 42.3%, 0%, 3.5%)
CIE-LABlab(67.73, 39.51, -44.62)
CIE-LCHlch(67.73, 59.60, 311.52°)
OKLaboklab(73.78% 0.0918 -0.1242)
OKLCHoklch(73.78% 0.154 306.5)
XYZxyz(48.8099, 37.6023, 91.8575)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EF6 #C1F68E
analogous
#8F8EF6 #C38EF6 #F68EF5
triadic
#C38EF6 #F6C38E #8EF6C3
tetradic
#C38EF6 #F68F8E #C1F68E #8EF5F6
square
#C38EF6 #F68F8E #C1F68E #8EF5F6
split-complementary
#C38EF6 #F5F68E #8EF68F
monochromatic
#871DED #A555F1 #C38EF6 #E1C7FB #F0E3FD

Accessibility & contrast

On white

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

On black

8.52
#C38EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EF6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EF6#FFFFFF#000000##000000
##C38EF61.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#82A5F3
Tritanopia (blue-blind)
#BB9FB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38ef6;
/* rgb */ color: rgb(195, 142, 246);
/* oklch */ color: oklch(73.8% 0.154 306.5);
Tailwind
colors: {
  custom: {
    50: '#d7b0f9',
    500: '#c38ef6',
    950: '#000000',
  },
}
SCSS
$custom: #c38ef6;
$custom-light: #d7b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c38ef6",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 270.577,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73779,
    "c": 0.15445,
    "h": 306.5
  },
  "luminance": 0.37602
}

Semantic roles & 50–950 ramp

primary
#C38EF6
secondary
#E5F5D6
accent
#E20471
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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