#C38BF8#C38BF8

#C38BF8 is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.4% C 0.162 H 306.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C38BF8
RGBrgb(195, 139, 248)
HSLhsl(271, 89%, 76%)
HSVhsv(271, 44%, 97%)
CMYKcmyk(21.4%, 44%, 0%, 2.7%)
CIE-LABlab(67.16, 41.59, -46.61)
CIE-LCHlch(67.16, 62.46, 311.74°)
OKLaboklab(73.38% 0.0962 -0.1299)
OKLCHoklch(73.38% 0.162 306.5)
XYZxyz(48.6782, 36.8450, 93.3361)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38BF8 #C0F88B
analogous
#8C8BF8 #C38BF8 #F88BF6
triadic
#C38BF8 #F8C38B #8BF8C3
tetradic
#C38BF8 #F88C8B #C0F88B #8BF6F8
square
#C38BF8 #F88C8B #C0F88B #8BF6F8
split-complementary
#C38BF8 #F6F88B #8BF88C
monochromatic
#8718F1 #A551F5 #C38BF8 #E1C5FB #F0E2FD

Accessibility & contrast

On white

2.51
#C38BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C38BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38BF8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38BF8#FFFFFF#000000##000000
##C38BF81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#BB9DB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c38bf8;
/* rgb */ color: rgb(195, 139, 248);
/* oklch */ color: oklch(73.4% 0.162 306.5);
Tailwind
colors: {
  custom: {
    50: '#d7aefb',
    500: '#c38bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c38bf8;
$custom-light: #d7aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c38bf8",
  "rgb": {
    "r": 195,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 270.826,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73384,
    "c": 0.1617,
    "h": 306.5
  },
  "luminance": 0.36845
}

Semantic roles & 50–950 ramp

primary
#C38BF8
secondary
#E5F5D6
accent
#E50070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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