#C39AFA#C39AFA

#C39AFA is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.0% C 0.140 H 302.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#C39AFA
RGBrgb(195, 154, 250)
HSLhsl(266, 91%, 79%)
HSVhsv(266, 38%, 98%)
CMYKcmyk(22%, 38.4%, 0%, 2%)
CIE-LABlab(70.61, 33.83, -42.30)
CIE-LCHlch(70.61, 54.16, 308.66°)
OKLaboklab(76.01% 0.076 -0.1175)
OKLCHoklch(76.01% 0.14 302.9)
XYZxyz(51.3129, 41.6155, 95.7532)
Luminance0.4162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39AFA #D1FA9A
analogous
#9AA1FA #C39AFA #F39AFA
triadic
#C39AFA #FAC39A #9AFAC3
tetradic
#C39AFA #FA9AA1 #D1FA9A #9AFAF3
square
#C39AFA #FA9AA1 #D1FA9A #9AFAF3
split-complementary
#C39AFA #FAF39A #A1FA9A
monochromatic
#7E25F4 #A060F7 #C39AFA #E6D4FD #EEE2FE

Accessibility & contrast

On white

2.25
#C39AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#C39AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39AFA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39AFA#FFFFFF#000000##000000
##C39AFA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#BAA9BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c39afa;
/* rgb */ color: rgb(195, 154, 250);
/* oklch */ color: oklch(76.0% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#d6b8fc',
    500: '#c39afa',
    950: '#000000',
  },
}
SCSS
$custom: #c39afa;
$custom-light: #d6b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c39afa",
  "rgb": {
    "r": 195,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 265.625,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.13995,
    "h": 302.9
  },
  "luminance": 0.41615
}

Semantic roles & 50–950 ramp

primary
#C39AFA
secondary
#E8F6D5
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C39AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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