#C38CEE#C38CEE

#C38CEE is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.1% C 0.148 H 309.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#C38CEE
RGBrgb(195, 140, 238)
HSLhsl(274, 74%, 74%)
HSVhsv(274, 41%, 93%)
CMYKcmyk(18.1%, 41.2%, 0%, 6.7%)
CIE-LABlab(66.92, 38.83, -41.49)
CIE-LCHlch(66.92, 56.83, 313.10°)
OKLaboklab(73.06% 0.0932 -0.1152)
OKLCHoklch(73.06% 0.148 309)
XYZxyz(47.3135, 36.5319, 85.4312)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38CEE #B7EE8C
analogous
#928CEE #C38CEE #EE8CE8
triadic
#C38CEE #EEC38C #8CEEC3
tetradic
#C38CEE #EE928C #B7EE8C #8CE8EE
square
#C38CEE #EE928C #B7EE8C #8CE8EE
split-complementary
#C38CEE #E8EE8C #8CEE92
monochromatic
#8B21DE #A757E6 #C38CEE #DFC1F6 #F1E4FB

Accessibility & contrast

On white

2.53
#C38CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#C38CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38CEE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38CEE#FFFFFF#000000##000000
##C38CEE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F2
Deuteranopia (green-blind)
#84A4EB
Tritanopia (blue-blind)
#BE9BB2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c38cee;
/* rgb */ color: rgb(195, 140, 238);
/* oklch */ color: oklch(73.1% 0.148 309.0);
Tailwind
colors: {
  custom: {
    50: '#d7aef4',
    500: '#c38cee',
    950: '#000000',
  },
}
SCSS
$custom: #c38cee;
$custom-light: #d7aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#c38cee",
  "rgb": {
    "r": 195,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 273.673,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73058,
    "c": 0.14813,
    "h": 309
  },
  "luminance": 0.36531
}

Semantic roles & 50–950 ramp

primary
#C38CEE
secondary
#E4F3D8
accent
#D60F67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C38CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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