#C268E5#C268E5

#C268E5 is a light, vivid purple. Relative luminance 0.270; OKLCH L 67.0% C 0.196 H 315.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C268E5
RGBrgb(194, 104, 229)
HSLhsl(283, 71%, 65%)
HSVhsv(283, 55%, 90%)
CMYKcmyk(15.3%, 54.6%, 0%, 10.2%)
CIE-LABlab(59.00, 55.55, -48.99)
CIE-LCHlch(59.00, 74.07, 318.59°)
OKLaboklab(67% 0.1398 -0.1367)
OKLCHoklch(67% 0.196 315.6)
XYZxyz(41.3391, 27.0284, 77.1529)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C268E5 #8BE568
analogous
#8368E5 #C268E5 #E568C9
triadic
#C268E5 #E5C268 #68E5C2
tetradic
#C268E5 #E58368 #8BE568 #68C9E5
square
#C268E5 #E58368 #8BE568 #68C9E5
split-complementary
#C268E5 #C9E568 #68E583
monochromatic
#8A1FB4 #AD34DC #C268E5 #D79CEE #ECD0F7

Accessibility & contrast

On white

3.28
#C268E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C268E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C268E5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C268E5#FFFFFF#000000##000000
##C268E51.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4989E9
Deuteranopia (green-blind)
#6891E2
Tritanopia (blue-blind)
#C07C9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c268e5;
/* rgb */ color: rgb(194, 104, 229);
/* oklch */ color: oklch(67.0% 0.196 315.6);
Tailwind
colors: {
  custom: {
    50: '#d797ee',
    500: '#c268e5',
    950: '#000000',
  },
}
SCSS
$custom: #c268e5;
$custom-light: #d797ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c268e5",
  "rgb": {
    "r": 194,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 283.2,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66998,
    "c": 0.19552,
    "h": 315.6
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#C268E5
secondary
#CBE9BF
accent
#D31349
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C268E5

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

Preview Lab → · Contrast checker → · Palette generator →

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