#C368FA#C368FA

#C368FA is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.3% C 0.217 H 310.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C368FA
RGBrgb(195, 104, 250)
HSLhsl(277, 94%, 69%)
HSVhsv(277, 58%, 98%)
CMYKcmyk(22%, 58.4%, 0%, 2%)
CIE-LABlab(60.25, 60.17, -58.66)
CIE-LCHlch(60.25, 84.04, 315.73°)
OKLaboklab(68.31% 0.1417 -0.165)
OKLCHoklch(68.31% 0.217 310.7)
XYZxyz(44.7081, 28.4058, 93.5516)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C368FA #9FFA68
analogous
#7A68FA #C368FA #FA68E8
triadic
#C368FA #FAC368 #68FAC3
tetradic
#C368FA #FA7A68 #9FFA68 #68E8FA
square
#C368FA #FA7A68 #9FFA68 #68E8FA
split-complementary
#C368FA #E8FA68 #68FA7A
monochromatic
#8F07E0 #AB2DF8 #C368FA #DBA3FC #F2DEFE

Accessibility & contrast

On white

3.14
#C368FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C368FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C368FA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C368FA#FFFFFF#000000##000000
##C368FA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#BC83A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c368fa;
/* rgb */ color: rgb(195, 104, 250);
/* oklch */ color: oklch(68.3% 0.217 310.7);
Tailwind
colors: {
  custom: {
    50: '#d997fd',
    500: '#c368fa',
    950: '#000000',
  },
}
SCSS
$custom: #c368fa;
$custom-light: #d997fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c368fa",
  "rgb": {
    "r": 195,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 277.397,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.21748,
    "h": 310.7
  },
  "luminance": 0.28405
}

Semantic roles & 50–950 ramp

primary
#C368FA
secondary
#DAF4CA
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C368FA

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

Preview Lab → · Contrast checker → · Palette generator →

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