#C45FF8#C45FF8

#C45FF8 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.2% C 0.228 H 312.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C45FF8
RGBrgb(196, 95, 248)
HSLhsl(280, 92%, 67%)
HSVhsv(280, 62%, 97%)
CMYKcmyk(21%, 61.7%, 0%, 2.7%)
CIE-LABlab(58.69, 64.24, -60.04)
CIE-LCHlch(58.69, 87.93, 316.93°)
OKLaboklab(67.16% 0.1536 -0.1689)
OKLCHoklch(67.16% 0.228 312.3)
XYZxyz(43.7974, 26.6986, 91.6349)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FF8 #93F85F
analogous
#785FF8 #C45FF8 #F85FDF
triadic
#C45FF8 #F8C45F #5FF8C4
tetradic
#C45FF8 #F8785F #93F85F #5FDFF8
square
#C45FF8 #F8785F #93F85F #5FDFF8
split-complementary
#C45FF8 #DFF85F #5FF878
monochromatic
#8F09D3 #AE24F5 #C45FF8 #DA9AFB #EFD4FD

Accessibility & contrast

On white

3.31
#C45FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C45FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FF8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FF8#FFFFFF#000000##000000
##C45FF81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D88FD
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#BE7CA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c45ff8;
/* rgb */ color: rgb(196, 95, 248);
/* oklch */ color: oklch(67.2% 0.228 312.3);
Tailwind
colors: {
  custom: {
    50: '#da92fb',
    500: '#c45ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c45ff8;
$custom-light: #da92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c45ff8",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 279.608,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.2283,
    "h": 312.3
  },
  "luminance": 0.26697
}

Semantic roles & 50–950 ramp

primary
#C45FF8
secondary
#D2F2C1
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C45FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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