#C38BEF#C38BEF

#C38BEF is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.9% C 0.151 H 308.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#C38BEF
RGBrgb(195, 139, 239)
HSLhsl(274, 76%, 74%)
HSVhsv(274, 42%, 94%)
CMYKcmyk(18.4%, 41.8%, 0%, 6.3%)
CIE-LABlab(66.75, 39.60, -42.32)
CIE-LCHlch(66.75, 57.95, 313.10°)
OKLaboklab(72.94% 0.0948 -0.1175)
OKLCHoklch(72.94% 0.151 308.9)
XYZxyz(47.3153, 36.2999, 86.1586)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38BEF #B7EF8B
analogous
#918BEF #C38BEF #EF8BE9
triadic
#C38BEF #EFC38B #8BEFC3
tetradic
#C38BEF #EF918B #B7EF8B #8BE9EF
square
#C38BEF #EF918B #B7EF8B #8BE9EF
split-complementary
#C38BEF #E9EF8B #8BEF91
monochromatic
#8B1FE0 #A755E8 #C38BEF #DFC1F6 #F1E4FB

Accessibility & contrast

On white

2.54
#C38BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#C38BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38BEF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38BEF#FFFFFF#000000##000000
##C38BEF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#BD9AB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c38bef;
/* rgb */ color: rgb(195, 139, 239);
/* oklch */ color: oklch(72.9% 0.151 308.9);
Tailwind
colors: {
  custom: {
    50: '#d7aef4',
    500: '#c38bef',
    950: '#000000',
  },
}
SCSS
$custom: #c38bef;
$custom-light: #d7aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#c38bef",
  "rgb": {
    "r": 195,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 273.6,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7294,
    "c": 0.15097,
    "h": 308.9
  },
  "luminance": 0.36299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C38BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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