#C68DFD#C68DFD

#C68DFD is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.165 H 306.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#C68DFD
RGBrgb(198, 141, 253)
HSLhsl(271, 97%, 77%)
HSVhsv(271, 44%, 99%)
CMYKcmyk(21.7%, 44.3%, 0%, 0.8%)
CIE-LABlab(68.13, 42.45, -47.79)
CIE-LCHlch(68.13, 63.92, 311.61°)
OKLaboklab(74.26% 0.0978 -0.1333)
OKLCHoklch(74.26% 0.165 306.3)
XYZxyz(50.5396, 38.1478, 97.6102)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C68DFD #C4FD8D
analogous
#8E8DFD #C68DFD #FD8DFC
triadic
#C68DFD #FDC68D #8DFDC6
tetradic
#C68DFD #FD8E8D #C4FD8D #8DFCFD
square
#C68DFD #FD8E8D #C4FD8D #8DFCFD
split-complementary
#C68DFD #FCFD8D #8DFD8E
monochromatic
#8A15FB #A851FC #C68DFD #E4C9FE #F0E1FE

Accessibility & contrast

On white

2.43
#C68DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#C68DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C68DFD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C68DFD#FFFFFF#000000##000000
##C68DFD1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#BE9FB9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c68dfd;
/* rgb */ color: rgb(198, 141, 253);
/* oklch */ color: oklch(74.3% 0.165 306.3);
Tailwind
colors: {
  custom: {
    50: '#d9affe',
    500: '#c68dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c68dfd;
$custom-light: #d9affe;
$custom-dark: #000000;
JSON
{
  "hex": "#c68dfd",
  "rgb": {
    "r": 198,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 270.536,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74256,
    "c": 0.16534,
    "h": 306.3
  },
  "luminance": 0.38147
}

Semantic roles & 50–950 ramp

primary
#C68DFD
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C68DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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