#C68AEF#C68AEF

#C68AEF is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.1% C 0.154 H 310.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#C68AEF
RGBrgb(198, 138, 239)
HSLhsl(276, 76%, 74%)
HSVhsv(276, 42%, 94%)
CMYKcmyk(17.2%, 42.3%, 0%, 6.3%)
CIE-LABlab(66.84, 40.99, -42.16)
CIE-LCHlch(66.84, 58.80, 314.20°)
OKLaboklab(73.08% 0.0997 -0.117)
OKLCHoklch(73.08% 0.154 310.4)
XYZxyz(47.9544, 36.4155, 86.1473)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C68AEF #B3EF8A
analogous
#948AEF #C68AEF #EF8AE5
triadic
#C68AEF #EFC68A #8AEFC6
tetradic
#C68AEF #EF948A #B3EF8A #8AE5EF
square
#C68AEF #EF948A #B3EF8A #8AE5EF
split-complementary
#C68AEF #E5EF8A #8AEF94
monochromatic
#911FE0 #AC54E8 #C68AEF #E0C0F6 #F2E4FB

Accessibility & contrast

On white

2.54
#C68AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#C68AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C68AEF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C68AEF#FFFFFF#000000##000000
##C68AEF1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#C199B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c68aef;
/* rgb */ color: rgb(198, 138, 239);
/* oklch */ color: oklch(73.1% 0.154 310.4);
Tailwind
colors: {
  custom: {
    50: '#d9adf4',
    500: '#c68aef',
    950: '#000000',
  },
}
SCSS
$custom: #c68aef;
$custom-light: #d9adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c68aef",
  "rgb": {
    "r": 198,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 275.644,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73076,
    "c": 0.1537,
    "h": 310.4
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#C68AEF
secondary
#E3F3D8
accent
#D80D60
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C68AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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