#C38AFA#C38AFA

#C38AFA is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.166 H 306.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C38AFA
RGBrgb(195, 138, 250)
HSLhsl(271, 92%, 76%)
HSVhsv(271, 45%, 98%)
CMYKcmyk(22%, 44.8%, 0%, 2%)
CIE-LABlab(67.04, 42.58, -47.90)
CIE-LCHlch(67.04, 64.09, 311.64°)
OKLaboklab(73.32% 0.0979 -0.1337)
OKLCHoklch(73.32% 0.166 306.2)
XYZxyz(48.8460, 36.6816, 94.9309)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38AFA #C1FA8A
analogous
#8B8AFA #C38AFA #FA8AF9
triadic
#C38AFA #FAC38A #8AFAC3
tetradic
#C38AFA #FA8B8A #C1FA8A #8AF9FA
square
#C38AFA #FA8B8A #C1FA8A #8AF9FA
split-complementary
#C38AFA #F9FA8A #8AFA8B
monochromatic
#8715F5 #A54FF7 #C38AFA #E1C5FD #F0E2FE

Accessibility & contrast

On white

2.52
#C38AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#C38AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38AFA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38AFA#FFFFFF#000000##000000
##C38AFA1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#BB9DB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c38afa;
/* rgb */ color: rgb(195, 138, 250);
/* oklch */ color: oklch(73.3% 0.166 306.2);
Tailwind
colors: {
  custom: {
    50: '#d7adfc',
    500: '#c38afa',
    950: '#000000',
  },
}
SCSS
$custom: #c38afa;
$custom-light: #d7adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c38afa",
  "rgb": {
    "r": 195,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 270.536,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73323,
    "c": 0.16569,
    "h": 306.2
  },
  "luminance": 0.36681
}

Semantic roles & 50–950 ramp

primary
#C38AFA
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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