#C65DFB#C65DFB

#C65DFB is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 67.3% C 0.235 H 312.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C65DFB
RGBrgb(198, 93, 251)
HSLhsl(280, 95%, 67%)
HSVhsv(280, 63%, 98%)
CMYKcmyk(21.1%, 62.9%, 0%, 1.6%)
CIE-LABlab(58.79, 66.21, -61.54)
CIE-LCHlch(58.79, 90.39, 317.09°)
OKLaboklab(67.34% 0.1582 -0.1732)
OKLCHoklch(67.34% 0.235 312.4)
XYZxyz(44.6125, 26.8007, 94.0710)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C65DFB #92FB5D
analogous
#775DFB #C65DFB #FB5DE1
triadic
#C65DFB #FBC65D #5DFBC6
tetradic
#C65DFB #FB775D #92FB5D #5DE1FB
square
#C65DFB #FB775D #92FB5D #5DE1FB
split-complementary
#C65DFB #E1FB5D #5DFB77
monochromatic
#9205D8 #B121FA #C65DFB #DB99FC #F0D4FE

Accessibility & contrast

On white

3.30
#C65DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C65DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C65DFB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C65DFB#FFFFFF#000000##000000
##C65DFB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C88FF
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#C07CA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c65dfb;
/* rgb */ color: rgb(198, 93, 251);
/* oklch */ color: oklch(67.3% 0.235 312.4);
Tailwind
colors: {
  custom: {
    50: '#db91fd',
    500: '#c65dfb',
    950: '#000000',
  },
}
SCSS
$custom: #c65dfb;
$custom-light: #db91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c65dfb",
  "rgb": {
    "r": 198,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 279.873,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67341,
    "c": 0.23458,
    "h": 312.4
  },
  "luminance": 0.268
}

Semantic roles & 50–950 ramp

primary
#C65DFB
secondary
#D2F3C1
accent
#E6004D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C65DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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