#C38BF2#C38BF2

#C38BF2 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.1% C 0.155 H 308.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C38BF2
RGBrgb(195, 139, 242)
HSLhsl(273, 80%, 75%)
HSVhsv(273, 43%, 95%)
CMYKcmyk(19.4%, 42.6%, 0%, 5.1%)
CIE-LABlab(66.88, 40.25, -43.75)
CIE-LCHlch(66.88, 59.45, 312.62°)
OKLaboklab(73.09% 0.0953 -0.1217)
OKLCHoklch(73.09% 0.155 308.1)
XYZxyz(47.7622, 36.4787, 88.5121)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38BF2 #BAF28B
analogous
#8F8BF2 #C38BF2 #F28BEE
triadic
#C38BF2 #F2C38B #8BF2C3
tetradic
#C38BF2 #F28F8B #BAF28B #8BEEF2
square
#C38BF2 #F28F8B #BAF28B #8BEEF2
split-complementary
#C38BF2 #EEF28B #8BF28F
monochromatic
#8A1DE6 #A754EC #C38BF2 #DFC2F8 #F1E3FC

Accessibility & contrast

On white

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

On black

8.30
#C38BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38BF2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38BF2#FFFFFF#000000##000000
##C38BF21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#BD9BB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c38bf2;
/* rgb */ color: rgb(195, 139, 242);
/* oklch */ color: oklch(73.1% 0.155 308.1);
Tailwind
colors: {
  custom: {
    50: '#d7aef7',
    500: '#c38bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c38bf2;
$custom-light: #d7aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c38bf2",
  "rgb": {
    "r": 195,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 272.621,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73086,
    "c": 0.15454,
    "h": 308.1
  },
  "luminance": 0.36478
}

Semantic roles & 50–950 ramp

primary
#C38BF2
secondary
#E4F4D7
accent
#DC096A
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #C38BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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