#C38EE2#C38EE2

#C38EE2 is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.8% C 0.131 H 312.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#C38EE2
RGBrgb(195, 142, 226)
HSLhsl(278, 59%, 72%)
HSVhsv(278, 37%, 89%)
CMYKcmyk(13.7%, 37.2%, 0%, 11.4%)
CIE-LABlab(66.85, 35.16, -34.99)
CIE-LCHlch(66.85, 49.60, 315.14°)
OKLaboklab(72.84% 0.0879 -0.0965)
OKLCHoklch(72.84% 0.131 312.3)
XYZxyz(45.9038, 36.4399, 76.5522)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EE2 #ADE28E
analogous
#998EE2 #C38EE2 #E28ED7
triadic
#C38EE2 #E2C38E #8EE2C3
tetradic
#C38EE2 #E2998E #ADE28E #8ED7E2
square
#C38EE2 #E2998E #ADE28E #8ED7E2
split-complementary
#C38EE2 #D7E28E #8EE299
monochromatic
#8E32C3 #A95DD6 #C38EE2 #DDBFEE #F2E7F9

Accessibility & contrast

On white

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

On black

8.29
#C38EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EE2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EE2#FFFFFF#000000##000000
##C38EE21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#8BA4E0
Tritanopia (blue-blind)
#C09AAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c38ee2;
/* rgb */ color: rgb(195, 142, 226);
/* oklch */ color: oklch(72.8% 0.131 312.3);
Tailwind
colors: {
  custom: {
    50: '#d6b0eb',
    500: '#c38ee2',
    950: '#000000',
  },
}
SCSS
$custom: #c38ee2;
$custom-light: #d6b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c38ee2",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 277.857,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.13053,
    "h": 312.3
  },
  "luminance": 0.36439
}

Semantic roles & 50–950 ramp

primary
#C38EE2
secondary
#E3F0DB
accent
#C71F5D
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141016
muted
#837F84

Preview Lab

Preview with #C38EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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