#C268F2#C268F2

#C268F2 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.7% C 0.209 H 312.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C268F2
RGBrgb(194, 104, 242)
HSLhsl(279, 84%, 68%)
HSVhsv(279, 57%, 95%)
CMYKcmyk(19.8%, 57%, 0%, 5.1%)
CIE-LABlab(59.69, 58.24, -55.14)
CIE-LCHlch(59.69, 80.20, 316.57°)
OKLaboklab(67.73% 0.1404 -0.1547)
OKLCHoklch(67.73% 0.209 312.2)
XYZxyz(43.2226, 27.7818, 87.0727)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C268F2 #98F268
analogous
#7D68F2 #C268F2 #F268DD
triadic
#C268F2 #F2C268 #68F2C2
tetradic
#C268F2 #F27D68 #98F268 #68DDF2
square
#C268F2 #F27D68 #98F268 #68DDF2
split-complementary
#C268F2 #DDF268 #68F27D
monochromatic
#8C12CE #AB30ED #C268F2 #D9A0F7 #F0D9FC

Accessibility & contrast

On white

3.20
#C268F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C268F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C268F2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C268F2#FFFFFF#000000##000000
##C268F21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#BD80A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c268f2;
/* rgb */ color: rgb(194, 104, 242);
/* oklch */ color: oklch(67.7% 0.209 312.2);
Tailwind
colors: {
  custom: {
    50: '#d897f7',
    500: '#c268f2',
    950: '#000000',
  },
}
SCSS
$custom: #c268f2;
$custom-light: #d897f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c268f2",
  "rgb": {
    "r": 194,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 279.13,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.20888,
    "h": 312.2
  },
  "luminance": 0.27781
}

Semantic roles & 50–950 ramp

primary
#C268F2
secondary
#D4F0C6
accent
#E10551
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C268F2

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

Preview Lab → · Contrast checker → · Palette generator →

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