#6245BB#6245BB

#6245BB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.177 H 289.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6245BB
RGBrgb(98, 69, 187)
HSLhsl(255, 46%, 50%)
HSVhsv(255, 63%, 73%)
CMYKcmyk(47.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(38.62, 41.40, -58.22)
CIE-LCHlch(38.62, 71.44, 305.42°)
OKLaboklab(48.85% 0.0591 -0.1666)
OKLCHoklch(48.85% 0.177 289.5)
XYZxyz(16.1322, 10.4401, 48.1692)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245BB #9EBB45
analogous
#4563BB #6245BB #9D45BB
triadic
#6245BB #BB6245 #45BB62
tetradic
#6245BB #BB4563 #9EBB45 #45BB9D
square
#6245BB #BB4563 #9EBB45 #45BB9D
split-complementary
#6245BB #BB9D45 #63BB45
monochromatic
#332462 #4A348F #6245BB #8872CB #AE9FDC

Accessibility & contrast

On white

6.80
#6245BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6245BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245BB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245BB#FFFFFF#000000##FFFFFF
##6245BB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#456179
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6245bb;
/* rgb */ color: rgb(98, 69, 187);
/* oklch */ color: oklch(48.9% 0.177 289.5);
Tailwind
colors: {
  custom: {
    50: '#967ad0',
    500: '#6245bb',
    950: '#000000',
  },
}
SCSS
$custom: #6245bb;
$custom-light: #967ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6245bb",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 254.746,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.17675,
    "h": 289.5
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#6245BB
secondary
#BBC894
accent
#D652B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6245BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6245BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva