#C38FEB#C38FEB

#C38FEB is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.4% C 0.140 H 309.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#C38FEB
RGBrgb(195, 143, 235)
HSLhsl(274, 70%, 74%)
HSVhsv(274, 39%, 92%)
CMYKcmyk(17%, 39.1%, 0%, 7.8%)
CIE-LABlab(67.46, 36.54, -39.00)
CIE-LCHlch(67.46, 53.45, 313.13°)
OKLaboklab(73.42% 0.0884 -0.108)
OKLCHoklch(73.42% 0.14 309.3)
XYZxyz(47.3208, 37.2458, 83.2774)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38FEB #B7EB8F
analogous
#958FEB #C38FEB #EB8FE5
triadic
#C38FEB #EBC38F #8FEBC3
tetradic
#C38FEB #EB958F #B7EB8F #8FE5EB
square
#C38FEB #EB958F #B7EB8F #8FE5EB
split-complementary
#C38FEB #E5EB8F #8FEB95
monochromatic
#8B27D8 #A75BE2 #C38FEB #DFC3F4 #F1E5FA

Accessibility & contrast

On white

2.49
#C38FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#C38FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38FEB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38FEB#FFFFFF#000000##000000
##C38FEB1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#BE9DB2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c38feb;
/* rgb */ color: rgb(195, 143, 235);
/* oklch */ color: oklch(73.4% 0.140 309.3);
Tailwind
colors: {
  custom: {
    50: '#d6b0f1',
    500: '#c38feb',
    950: '#000000',
  },
}
SCSS
$custom: #c38feb;
$custom-light: #d6b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c38feb",
  "rgb": {
    "r": 195,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 273.913,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73419,
    "c": 0.13955,
    "h": 309.3
  },
  "luminance": 0.37245
}

Semantic roles & 50–950 ramp

primary
#C38FEB
secondary
#E4F2D9
accent
#D21466
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C38FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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