#C262BF#C262BF

#C262BF is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.2% C 0.168 H 328.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C262BF
RGBrgb(194, 98, 191)
HSLhsl(302, 44%, 57%)
HSVhsv(302, 49%, 76%)
CMYKcmyk(0%, 49.5%, 1.5%, 23.9%)
CIE-LABlab(56.06, 51.24, -32.11)
CIE-LCHlch(56.06, 60.47, 327.93°)
OKLaboklab(64.23% 0.1434 -0.0879)
OKLCHoklch(64.23% 0.168 328.5)
XYZxyz(36.0193, 23.9683, 52.0092)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262BF #62C265
analogous
#9562C2 #C262BF #C2628F
triadic
#C262BF #BFC262 #62BFC2
tetradic
#C262BF #C29562 #62C265 #628FC2
square
#C262BF #C29562 #62C265 #628FC2
split-complementary
#C262BF #8FC262 #62C295
monochromatic
#7A2F78 #A641A3 #C262BF #D38ED1 #E4BAE3

Accessibility & contrast

On white

3.62
#C262BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C262BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262BF#FFFFFF#000000##000000
##C262BF1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#C86B88
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c262bf;
/* rgb */ color: rgb(194, 98, 191);
/* oklch */ color: oklch(64.2% 0.168 328.5);
Tailwind
colors: {
  custom: {
    50: '#d792d2',
    500: '#c262bf',
    950: '#000000',
  },
}
SCSS
$custom: #c262bf;
$custom-light: #d792d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c262bf",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 301.875,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.1682,
    "h": 328.5
  },
  "luminance": 0.23966
}

Semantic roles & 50–950 ramp

primary
#C262BF
secondary
#ACD3AE
accent
#D45854
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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