#C268F7#C268F7

#C268F7 is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.0% C 0.214 H 311.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C268F7
RGBrgb(194, 104, 247)
HSLhsl(278, 90%, 69%)
HSVhsv(278, 58%, 97%)
CMYKcmyk(21.5%, 57.9%, 0%, 3.1%)
CIE-LABlab(59.97, 59.30, -57.47)
CIE-LCHlch(59.97, 82.58, 315.90°)
OKLaboklab(68.02% 0.1405 -0.1615)
OKLCHoklch(68.02% 0.214 311)
XYZxyz(43.9838, 28.0863, 91.0818)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C268F7 #9DF768
analogous
#7B68F7 #C268F7 #F768E5
triadic
#C268F7 #F7C268 #68F7C2
tetradic
#C268F7 #F77B68 #9DF768 #68E5F7
square
#C268F7 #F77B68 #9DF768 #68E5F7
split-complementary
#C268F7 #E5F768 #68F77B
monochromatic
#8D0CD9 #AB2EF4 #C268F7 #D9A2FA #F1DCFD

Accessibility & contrast

On white

3.17
#C268F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#C268F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C268F7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C268F7#FFFFFF#000000##000000
##C268F71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#BC82A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c268f7;
/* rgb */ color: rgb(194, 104, 247);
/* oklch */ color: oklch(68.0% 0.214 311.0);
Tailwind
colors: {
  custom: {
    50: '#d897fa',
    500: '#c268f7',
    950: '#000000',
  },
}
SCSS
$custom: #c268f7;
$custom-light: #d897fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c268f7",
  "rgb": {
    "r": 194,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 277.762,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68017,
    "c": 0.21405,
    "h": 311
  },
  "luminance": 0.28085
}

Semantic roles & 50–950 ramp

primary
#C268F7
secondary
#D8F3C8
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C268F7

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

Preview Lab → · Contrast checker → · Palette generator →

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