#C26AFA#C26AFA

#C26AFA is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.5% C 0.214 H 310.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#C26AFA
RGBrgb(194, 106, 250)
HSLhsl(277, 94%, 70%)
HSVhsv(277, 58%, 98%)
CMYKcmyk(22.4%, 57.6%, 0%, 2%)
CIE-LABlab(60.50, 58.96, -58.28)
CIE-LCHlch(60.50, 82.90, 315.33°)
OKLaboklab(68.46% 0.1381 -0.1639)
OKLCHoklch(68.46% 0.214 310.1)
XYZxyz(44.6542, 28.6804, 93.6075)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C26AFA #A2FA6A
analogous
#7A6AFA #C26AFA #FA6AEA
triadic
#C26AFA #FAC26A #6AFAC2
tetradic
#C26AFA #FA7A6A #A2FA6A #6AEAFA
square
#C26AFA #FA7A6A #A2FA6A #6AEAFA
split-complementary
#C26AFA #EAFA6A #6AFA7A
monochromatic
#8D08E2 #AA2FF8 #C26AFA #DAA5FC #F2E0FE

Accessibility & contrast

On white

3.12
#C26AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#C26AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C26AFA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C26AFA#FFFFFF#000000##000000
##C26AFA1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#5B93F7
Tritanopia (blue-blind)
#BB85A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c26afa;
/* rgb */ color: rgb(194, 106, 250);
/* oklch */ color: oklch(68.5% 0.214 310.1);
Tailwind
colors: {
  custom: {
    50: '#d898fd',
    500: '#c26afa',
    950: '#000000',
  },
}
SCSS
$custom: #c26afa;
$custom-light: #d898fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c26afa",
  "rgb": {
    "r": 194,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 276.667,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.2143,
    "h": 310.1
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#C26AFA
secondary
#DBF4CC
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C26AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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