#6845D0#6845D0

#6845D0 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.202 H 288.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6845D0
RGBrgb(104, 69, 208)
HSLhsl(255, 60%, 54%)
HSVhsv(255, 67%, 82%)
CMYKcmyk(50%, 66.8%, 0%, 18.4%)
CIE-LABlab(40.82, 48.56, -66.83)
CIE-LCHlch(40.82, 82.61, 306.00°)
OKLaboklab(51.09% 0.0649 -0.1917)
OKLCHoklch(51.09% 0.202 288.7)
XYZxyz(19.2189, 11.7525, 60.9181)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6845D0 #ADD045
analogous
#4568D0 #6845D0 #AE45D0
triadic
#6845D0 #D06845 #45D068
tetradic
#6845D0 #D04568 #ADD045 #45D0AE
square
#6845D0 #D04568 #ADD045 #45D0AE
split-complementary
#6845D0 #D0AE45 #68D045
monochromatic
#361F7B #4C2CAC #6845D0 #9076DC #B7A7E9

Accessibility & contrast

On white

6.27
#6845D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6845D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6845D0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6845D0#FFFFFF#000000##FFFFFF
##6845D01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#436885
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6845d0;
/* rgb */ color: rgb(104, 69, 208);
/* oklch */ color: oklch(51.1% 0.202 288.7);
Tailwind
colors: {
  custom: {
    50: '#9c7bdf',
    500: '#6845d0',
    950: '#000000',
  },
}
SCSS
$custom: #6845d0;
$custom-light: #9c7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6845d0",
  "rgb": {
    "r": 104,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 255.108,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.20239,
    "h": 288.7
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#6845D0
secondary
#C7D69B
accent
#E345BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6845D0

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

Preview Lab → · Contrast checker → · Palette generator →

#6845D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva