#6045C8#6045C8

#6045C8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.193 H 286.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6045C8
RGBrgb(96, 69, 200)
HSLhsl(252, 54%, 53%)
HSVhsv(252, 66%, 78%)
CMYKcmyk(52%, 65.5%, 0%, 21.6%)
CIE-LABlab(39.43, 44.83, -64.50)
CIE-LCHlch(39.43, 78.55, 304.80°)
OKLaboklab(49.71% 0.055 -0.1851)
OKLCHoklch(49.71% 0.193 286.6)
XYZxyz(17.3742, 10.9123, 55.8232)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045C8 #ADC845
analogous
#456CC8 #6045C8 #A145C8
triadic
#6045C8 #C86045 #45C860
tetradic
#6045C8 #C8456C #ADC845 #45C8A1
square
#6045C8 #C8456C #ADC845 #45C8A1
split-complementary
#6045C8 #C8A145 #6CC845
monochromatic
#322171 #472FA0 #6045C8 #8874D6 #B1A3E4

Accessibility & contrast

On white

6.60
#6045C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6045C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045C8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045C8#FFFFFF#000000##FFFFFF
##6045C81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#386580
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6045c8;
/* rgb */ color: rgb(96, 69, 200);
/* oklch */ color: oklch(49.7% 0.193 286.6);
Tailwind
colors: {
  custom: {
    50: '#967ada',
    500: '#6045c8',
    950: '#000000',
  },
}
SCSS
$custom: #6045c8;
$custom-light: #967ada;
$custom-dark: #000000;
JSON
{
  "hex": "#6045c8",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 252.366,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.19311,
    "h": 286.6
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#6045C8
secondary
#C5D198
accent
#DE4ABF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6045C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6045C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva