#6245BE#6245BE

#6245BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.181 H 289.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6245BE
RGBrgb(98, 69, 190)
HSLhsl(254, 48%, 51%)
HSVhsv(254, 64%, 75%)
CMYKcmyk(48.4%, 63.7%, 0%, 25.5%)
CIE-LABlab(38.85, 42.27, -59.61)
CIE-LCHlch(38.85, 73.08, 305.34°)
OKLaboklab(49.09% 0.0588 -0.1707)
OKLCHoklch(49.09% 0.181 289)
XYZxyz(16.4567, 10.5699, 49.8783)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245BE #A1BE45
analogous
#4564BE #6245BE #9E45BE
triadic
#6245BE #BE6245 #45BE62
tetradic
#6245BE #BE4564 #A1BE45 #45BE9E
square
#6245BE #BE4564 #A1BE45 #45BE9E
split-complementary
#6245BE #BE9E45 #64BE45
monochromatic
#332365 #4A3393 #6245BE #8872CE #AFA0DE

Accessibility & contrast

On white

6.74
#6245BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6245BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245BE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245BE#FFFFFF#000000##FFFFFF
##6245BE1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#43627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6245be;
/* rgb */ color: rgb(98, 69, 190);
/* oklch */ color: oklch(49.1% 0.181 289.0);
Tailwind
colors: {
  custom: {
    50: '#967ad2',
    500: '#6245be',
    950: '#000000',
  },
}
SCSS
$custom: #6245be;
$custom-light: #967ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6245be",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 254.38,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.18052,
    "h": 289
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#6245BE
secondary
#BDCA95
accent
#D850B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6245BE

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

Preview Lab → · Contrast checker → · Palette generator →

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