#C68AFD#C68AFD

#C68AFD is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.8% C 0.170 H 306.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#C68AFD
RGBrgb(198, 138, 253)
HSLhsl(271, 97%, 77%)
HSVhsv(271, 45%, 99%)
CMYKcmyk(21.7%, 45.5%, 0%, 0.8%)
CIE-LABlab(67.48, 44.06, -48.81)
CIE-LCHlch(67.48, 65.76, 312.07°)
OKLaboklab(73.77% 0.1018 -0.1363)
OKLCHoklch(73.77% 0.17 306.8)
XYZxyz(50.1032, 37.2750, 97.4648)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C68AFD #C1FD8A
analogous
#8D8AFD #C68AFD #FD8AFB
triadic
#C68AFD #FDC68A #8AFDC6
tetradic
#C68AFD #FD8D8A #C1FD8A #8AFBFD
square
#C68AFD #FD8D8A #C1FD8A #8AFBFD
split-complementary
#C68AFD #FBFD8A #8AFD8D
monochromatic
#8B12FB #A94EFC #C68AFD #E3C6FE #F0E1FE

Accessibility & contrast

On white

2.48
#C68AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#C68AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C68AFD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C68AFD#FFFFFF#000000##000000
##C68AFD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#BE9DB8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c68afd;
/* rgb */ color: rgb(198, 138, 253);
/* oklch */ color: oklch(73.8% 0.170 306.8);
Tailwind
colors: {
  custom: {
    50: '#d9adfe',
    500: '#c68afd',
    950: '#000000',
  },
}
SCSS
$custom: #c68afd;
$custom-light: #d9adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c68afd",
  "rgb": {
    "r": 198,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 271.304,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73772,
    "c": 0.17012,
    "h": 306.8
  },
  "luminance": 0.37275
}

Semantic roles & 50–950 ramp

primary
#C68AFD
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C68AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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