#C38BEC#C38BEC

#C38BEC is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.8% C 0.147 H 309.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C38BEC
RGBrgb(195, 139, 236)
HSLhsl(275, 72%, 74%)
HSVhsv(275, 41%, 93%)
CMYKcmyk(17.4%, 41.1%, 0%, 7.5%)
CIE-LABlab(66.61, 38.94, -40.88)
CIE-LCHlch(66.61, 56.46, 313.61°)
OKLaboklab(72.8% 0.0942 -0.1134)
OKLCHoklch(72.8% 0.147 309.7)
XYZxyz(46.8758, 36.1241, 83.8438)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38BEC #B4EC8B
analogous
#928BEC #C38BEC #EC8BE4
triadic
#C38BEC #ECC38B #8BECC3
tetradic
#C38BEC #EC928B #B4EC8B #8BE4EC
square
#C38BEC #EC928B #B4EC8B #8BE4EC
split-complementary
#C38BEC #E4EC8B #8BEC92
monochromatic
#8C24D9 #A856E3 #C38BEC #DEC0F5 #F1E5FB

Accessibility & contrast

On white

2.55
#C38BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C38BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38BEC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38BEC#FFFFFF#000000##000000
##C38BEC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#BE9AB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c38bec;
/* rgb */ color: rgb(195, 139, 236);
/* oklch */ color: oklch(72.8% 0.147 309.7);
Tailwind
colors: {
  custom: {
    50: '#d7aef2',
    500: '#c38bec',
    950: '#000000',
  },
}
SCSS
$custom: #c38bec;
$custom-light: #d7aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c38bec",
  "rgb": {
    "r": 195,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 274.639,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72795,
    "c": 0.14741,
    "h": 309.7
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#C38BEC
secondary
#E4F2D9
accent
#D41264
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C38BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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