#C768F7#C768F7

#C768F7 is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.6% C 0.216 H 312.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#C768F7
RGBrgb(199, 104, 247)
HSLhsl(280, 90%, 69%)
HSVhsv(280, 58%, 97%)
CMYKcmyk(19.4%, 57.9%, 0%, 3.1%)
CIE-LABlab(60.57, 60.49, -56.47)
CIE-LCHlch(60.57, 82.76, 316.97°)
OKLaboklab(68.59% 0.1465 -0.1584)
OKLCHoklch(68.59% 0.216 312.8)
XYZxyz(45.2891, 28.7593, 91.1430)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768F7 #98F768
analogous
#8068F7 #C768F7 #F768E0
triadic
#C768F7 #F7C768 #68F7C7
tetradic
#C768F7 #F78068 #98F768 #68E0F7
square
#C768F7 #F78068 #98F768 #68E0F7
split-complementary
#C768F7 #E0F768 #68F780
monochromatic
#940CD9 #B12EF4 #C768F7 #DDA2FA #F2DCFD

Accessibility & contrast

On white

3.11
#C768F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#C768F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768F7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768F7#FFFFFF#000000##000000
##C768F71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFC
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#C281A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c768f7;
/* rgb */ color: rgb(199, 104, 247);
/* oklch */ color: oklch(68.6% 0.216 312.8);
Tailwind
colors: {
  custom: {
    50: '#db97fa',
    500: '#c768f7',
    950: '#000000',
  },
}
SCSS
$custom: #c768f7;
$custom-light: #db97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c768f7",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 279.86,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68586,
    "c": 0.2158,
    "h": 312.8
  },
  "luminance": 0.28758
}

Semantic roles & 50–950 ramp

primary
#C768F7
secondary
#D6F3C8
accent
#E6004D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C768F7

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

Preview Lab → · Contrast checker → · Palette generator →

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