#6245BF#6245BF

#6245BF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.182 H 288.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6245BF
RGBrgb(98, 69, 191)
HSLhsl(254, 49%, 51%)
HSVhsv(254, 64%, 75%)
CMYKcmyk(48.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(38.92, 42.56, -60.07)
CIE-LCHlch(38.92, 73.62, 305.32°)
OKLaboklab(49.17% 0.0587 -0.172)
OKLCHoklch(49.17% 0.182 288.8)
XYZxyz(16.5664, 10.6138, 50.4559)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245BF #A2BF45
analogous
#4565BF #6245BF #9F45BF
triadic
#6245BF #BF6245 #45BF62
tetradic
#6245BF #BF4565 #A2BF45 #45BF9F
square
#6245BF #BF4565 #A2BF45 #45BF9F
split-complementary
#6245BF #BF9F45 #65BF45
monochromatic
#332366 #4A3394 #6245BF #8873CF #AFA0DE

Accessibility & contrast

On white

6.72
#6245BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6245BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245BF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245BF#FFFFFF#000000##FFFFFF
##6245BF1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#43627C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6245bf;
/* rgb */ color: rgb(98, 69, 191);
/* oklch */ color: oklch(49.2% 0.182 288.8);
Tailwind
colors: {
  custom: {
    50: '#967ad3',
    500: '#6245bf',
    950: '#000000',
  },
}
SCSS
$custom: #6245bf;
$custom-light: #967ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6245bf",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 254.262,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.18178,
    "h": 288.8
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#6245BF
secondary
#BECB95
accent
#D84FB8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6245BF

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

Preview Lab → · Contrast checker → · Palette generator →

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