#C262FB#C262FB

#C262FB is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.5% C 0.227 H 310.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C262FB
RGBrgb(194, 98, 251)
HSLhsl(278, 95%, 68%)
HSVhsv(278, 61%, 98%)
CMYKcmyk(22.7%, 61%, 0%, 1.6%)
CIE-LABlab(59.13, 63.02, -61.02)
CIE-LCHlch(59.13, 87.72, 315.92°)
OKLaboklab(67.48% 0.1476 -0.1718)
OKLCHoklch(67.48% 0.227 310.7)
XYZxyz(44.0251, 27.1707, 94.1734)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262FB #9BFB62
analogous
#7562FB #C262FB #FB62E7
triadic
#C262FB #FBC262 #62FBC2
tetradic
#C262FB #FB7562 #9BFB62 #62E7FB
square
#C262FB #FB7562 #9BFB62 #62E7FB
split-complementary
#C262FB #E7FB62 #62FB75
monochromatic
#8D06DD #AB26F9 #C262FB #D99EFD #F0D9FE

Accessibility & contrast

On white

3.26
#C262FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C262FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262FB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262FB#FFFFFF#000000##000000
##C262FB1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#BB7FA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c262fb;
/* rgb */ color: rgb(194, 98, 251);
/* oklch */ color: oklch(67.5% 0.227 310.7);
Tailwind
colors: {
  custom: {
    50: '#d893fd',
    500: '#c262fb',
    950: '#000000',
  },
}
SCSS
$custom: #c262fb;
$custom-light: #d893fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c262fb",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 277.647,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.22655,
    "h": 310.7
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#C262FB
secondary
#D7F3C5
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C262FB

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

Preview Lab → · Contrast checker → · Palette generator →

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