#C26AF7#C26AF7

#C26AF7 is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.3% C 0.211 H 310.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#C26AF7
RGBrgb(194, 106, 247)
HSLhsl(277, 90%, 69%)
HSVhsv(277, 57%, 97%)
CMYKcmyk(21.5%, 57.1%, 0%, 3.1%)
CIE-LABlab(60.33, 58.32, -56.89)
CIE-LCHlch(60.33, 81.47, 315.71°)
OKLaboklab(68.28% 0.1381 -0.1598)
OKLCHoklch(68.28% 0.211 310.8)
XYZxyz(44.1876, 28.4937, 91.1497)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C26AF7 #9FF76A
analogous
#7C6AF7 #C26AF7 #F76AE5
triadic
#C26AF7 #F7C26A #6AF7C2
tetradic
#C26AF7 #F77C6A #9FF76A #6AE5F7
square
#C26AF7 #F77C6A #9FF76A #6AE5F7
split-complementary
#C26AF7 #E5F76A #6AF77C
monochromatic
#8D0CDB #AA30F4 #C26AF7 #DAA4FA #F2DEFD

Accessibility & contrast

On white

3.13
#C26AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#C26AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C26AF7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C26AF7#FFFFFF#000000##000000
##C26AF71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFC
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#BC84A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c26af7;
/* rgb */ color: rgb(194, 106, 247);
/* oklch */ color: oklch(68.3% 0.211 310.8);
Tailwind
colors: {
  custom: {
    50: '#d898fa',
    500: '#c26af7',
    950: '#000000',
  },
}
SCSS
$custom: #c26af7;
$custom-light: #d898fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c26af7",
  "rgb": {
    "r": 194,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 277.447,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68284,
    "c": 0.21116,
    "h": 310.8
  },
  "luminance": 0.28493
}

Semantic roles & 50–950 ramp

primary
#C26AF7
secondary
#D9F3CA
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C26AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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