#C38FF2#C38FF2

#C38FF2 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.8% C 0.148 H 307.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C38FF2
RGBrgb(195, 143, 242)
HSLhsl(272, 79%, 75%)
HSVhsv(272, 41%, 95%)
CMYKcmyk(19.4%, 40.9%, 0%, 5.1%)
CIE-LABlab(67.77, 38.07, -42.37)
CIE-LCHlch(67.77, 56.96, 311.94°)
OKLaboklab(73.75% 0.0897 -0.1177)
OKLCHoklch(73.75% 0.148 307.3)
XYZxyz(48.3520, 37.6583, 88.7087)
Luminance0.3766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38FF2 #BEF28F
analogous
#918FF2 #C38FF2 #F28FF0
triadic
#C38FF2 #F2C38F #8FF2C3
tetradic
#C38FF2 #F2918F #BEF28F #8FF0F2
square
#C38FF2 #F2918F #BEF28F #8FF0F2
split-complementary
#C38FF2 #F0F28F #8FF291
monochromatic
#8821E5 #A658EC #C38FF2 #E0C6F8 #F0E4FC

Accessibility & contrast

On white

2.46
#C38FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C38FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38FF2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38FF2#FFFFFF#000000##000000
##C38FF21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#85A6EF
Tritanopia (blue-blind)
#BC9EB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38ff2;
/* rgb */ color: rgb(195, 143, 242);
/* oklch */ color: oklch(73.8% 0.148 307.3);
Tailwind
colors: {
  custom: {
    50: '#d7b0f6',
    500: '#c38ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c38ff2;
$custom-light: #d7b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c38ff2",
  "rgb": {
    "r": 195,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 271.515,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73751,
    "c": 0.14799,
    "h": 307.3
  },
  "luminance": 0.37658
}

Semantic roles & 50–950 ramp

primary
#C38FF2
secondary
#E5F4D7
accent
#DB0A6D
background
#FDFAFF
surface
#FAF5FE
border
#D3CFD6
text
#141017
muted
#837F85

Preview Lab

Preview with #C38FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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