#C262F8#C262F8

#C262F8 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.3% C 0.224 H 311.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#C262F8
RGBrgb(194, 98, 248)
HSLhsl(278, 91%, 68%)
HSVhsv(278, 60%, 97%)
CMYKcmyk(21.8%, 60.5%, 0%, 2.7%)
CIE-LABlab(58.96, 62.39, -59.63)
CIE-LCHlch(58.96, 86.30, 316.29°)
OKLaboklab(67.3% 0.1477 -0.1678)
OKLCHoklch(67.3% 0.224 311.3)
XYZxyz(43.5560, 26.9830, 91.7025)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262F8 #98F862
analogous
#7762F8 #C262F8 #F862E3
triadic
#C262F8 #F8C262 #62F8C2
tetradic
#C262F8 #F87762 #98F862 #62E3F8
square
#C262F8 #F87762 #98F862 #62E3F8
split-complementary
#C262F8 #E3F862 #62F877
monochromatic
#8C0AD6 #AB27F5 #C262F8 #D99DFB #F0D7FD

Accessibility & contrast

On white

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

On black

6.40
#C262F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262F8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262F8#FFFFFF#000000##000000
##C262F81.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FD
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#BC7EA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c262f8;
/* rgb */ color: rgb(194, 98, 248);
/* oklch */ color: oklch(67.3% 0.224 311.3);
Tailwind
colors: {
  custom: {
    50: '#d893fb',
    500: '#c262f8',
    950: '#000000',
  },
}
SCSS
$custom: #c262f8;
$custom-light: #d893fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c262f8",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 278.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.22352,
    "h": 311.3
  },
  "luminance": 0.26982
}

Semantic roles & 50–950 ramp

primary
#C262F8
secondary
#D4F2C4
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C262F8

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

Preview Lab → · Contrast checker → · Palette generator →

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