#C38EF9#C38EF9

#C38EF9 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.158 H 305.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C38EF9
RGBrgb(195, 142, 249)
HSLhsl(270, 90%, 77%)
HSVhsv(270, 43%, 98%)
CMYKcmyk(21.7%, 43%, 0%, 2.4%)
CIE-LABlab(67.86, 40.18, -46.05)
CIE-LCHlch(67.86, 61.11, 311.11°)
OKLaboklab(73.93% 0.0923 -0.1283)
OKLCHoklch(73.93% 0.158 305.7)
XYZxyz(49.2741, 37.7880, 94.3021)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EF9 #C4F98E
analogous
#8E8FF9 #C38EF9 #F98EF9
triadic
#C38EF9 #F9C38E #8EF9C3
tetradic
#C38EF9 #F98E8F #C4F98E #8EF9F9
square
#C38EF9 #F98E8F #C4F98E #8EF9F9
split-complementary
#C38EF9 #F9F98E #8FF98E
monochromatic
#851AF3 #A454F6 #C38EF9 #E2C8FC #F0E2FD

Accessibility & contrast

On white

2.45
#C38EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C38EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EF9
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EF9#FFFFFF#000000##000000
##C38EF91.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#80A6F6
Tritanopia (blue-blind)
#BB9FB8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38ef9;
/* rgb */ color: rgb(195, 142, 249);
/* oklch */ color: oklch(73.9% 0.158 305.7);
Tailwind
colors: {
  custom: {
    50: '#d7b0fb',
    500: '#c38ef9',
    950: '#000000',
  },
}
SCSS
$custom: #c38ef9;
$custom-light: #d7b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c38ef9",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 269.72,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73928,
    "c": 0.15807,
    "h": 305.7
  },
  "luminance": 0.37788
}

Semantic roles & 50–950 ramp

primary
#C38EF9
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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