#6045DE#6045DE

#6045DE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.220 H 283.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6045DE
RGBrgb(96, 69, 222)
HSLhsl(251, 70%, 57%)
HSVhsv(251, 69%, 87%)
CMYKcmyk(56.8%, 68.9%, 0%, 12.9%)
CIE-LABlab(41.24, 51.32, -74.21)
CIE-LCHlch(41.24, 90.23, 304.67°)
OKLaboklab(51.57% 0.0518 -0.2136)
OKLCHoklch(51.57% 0.22 283.6)
XYZxyz(20.1328, 12.0157, 70.3515)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045DE #C3DE45
analogous
#4577DE #6045DE #AC45DE
triadic
#6045DE #DE6045 #45DE60
tetradic
#6045DE #DE4577 #C3DE45 #45DEAC
square
#6045DE #DE4577 #C3DE45 #45DEAC
split-complementary
#6045DE #DEAC45 #77DE45
monochromatic
#2E198F #3F23C3 #6045DE #8C79E7 #B9ADF0

Accessibility & contrast

On white

6.17
#6045DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6045DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045DE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045DE#FFFFFF#000000##FFFFFF
##6045DE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E3
Deuteranopia (green-blind)
#005CDB
Tritanopia (blue-blind)
#1C6D8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6045de;
/* rgb */ color: rgb(96, 69, 222);
/* oklch */ color: oklch(51.6% 0.220 283.6);
Tailwind
colors: {
  custom: {
    50: '#997be9',
    500: '#6045de',
    950: '#000000',
  },
}
SCSS
$custom: #6045de;
$custom-light: #997be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6045de",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 250.588,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.2198,
    "h": 283.6
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#6045DE
secondary
#D4DFA0
accent
#ED3BCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6045DE

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

Preview Lab → · Contrast checker → · Palette generator →

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