#C38DF2#C38DF2

#C38DF2 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.4% C 0.151 H 307.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C38DF2
RGBrgb(195, 141, 242)
HSLhsl(272, 80%, 75%)
HSVhsv(272, 42%, 95%)
CMYKcmyk(19.4%, 41.7%, 0%, 5.1%)
CIE-LABlab(67.32, 39.17, -43.06)
CIE-LCHlch(67.32, 58.21, 312.29°)
OKLaboklab(73.42% 0.0925 -0.1197)
OKLCHoklch(73.42% 0.151 307.7)
XYZxyz(48.0545, 37.0631, 88.6095)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38DF2 #BCF28D
analogous
#908DF2 #C38DF2 #F28DEF
triadic
#C38DF2 #F2C38D #8DF2C3
tetradic
#C38DF2 #F2908D #BCF28D #8DEFF2
square
#C38DF2 #F2908D #BCF28D #8DEFF2
split-complementary
#C38DF2 #EFF28D #8DF290
monochromatic
#891FE5 #A656EC #C38DF2 #E0C4F8 #F1E4FC

Accessibility & contrast

On white

2.50
#C38DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C38DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38DF2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38DF2#FFFFFF#000000##000000
##C38DF21.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#83A5EF
Tritanopia (blue-blind)
#BD9DB4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c38df2;
/* rgb */ color: rgb(195, 141, 242);
/* oklch */ color: oklch(73.4% 0.151 307.7);
Tailwind
colors: {
  custom: {
    50: '#d7aff6',
    500: '#c38df2',
    950: '#000000',
  },
}
SCSS
$custom: #c38df2;
$custom-light: #d7aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#c38df2",
  "rgb": {
    "r": 195,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 272.079,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73417,
    "c": 0.15127,
    "h": 307.7
  },
  "luminance": 0.37063
}

Semantic roles & 50–950 ramp

primary
#C38DF2
secondary
#E5F4D7
accent
#DC0A6B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #C38DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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