#C38FEE#C38FEE

#C38FEE is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.6% C 0.143 H 308.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C38FEE
RGBrgb(195, 143, 238)
HSLhsl(273, 74%, 75%)
HSVhsv(273, 40%, 93%)
CMYKcmyk(18.1%, 39.9%, 0%, 6.7%)
CIE-LABlab(67.59, 37.19, -40.45)
CIE-LCHlch(67.59, 54.95, 312.60°)
OKLaboklab(73.56% 0.089 -0.1122)
OKLCHoklch(73.56% 0.143 308.4)
XYZxyz(47.7578, 37.4206, 85.5793)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38FEE #BAEE8F
analogous
#948FEE #C38FEE #EE8FEA
triadic
#C38FEE #EEC38F #8FEEC3
tetradic
#C38FEE #EE948F #BAEE8F #8FEAEE
square
#C38FEE #EE948F #BAEE8F #8FEAEE
split-complementary
#C38FEE #EAEE8F #8FEE94
monochromatic
#8A25DE #A75AE6 #C38FEE #DFC4F6 #F1E4FB

Accessibility & contrast

On white

2.48
#C38FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C38FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38FEE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38FEE#FFFFFF#000000##000000
##C38FEE1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F2
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#BD9DB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38fee;
/* rgb */ color: rgb(195, 143, 238);
/* oklch */ color: oklch(73.6% 0.143 308.4);
Tailwind
colors: {
  custom: {
    50: '#d6b0f4',
    500: '#c38fee',
    950: '#000000',
  },
}
SCSS
$custom: #c38fee;
$custom-light: #d6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c38fee",
  "rgb": {
    "r": 195,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 272.842,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.14316,
    "h": 308.4
  },
  "luminance": 0.3742
}

Semantic roles & 50–950 ramp

primary
#C38FEE
secondary
#E4F3D8
accent
#D61069
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C38FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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