#6245BD#6245BD

#6245BD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.179 H 289.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6245BD
RGBrgb(98, 69, 189)
HSLhsl(255, 48%, 51%)
HSVhsv(255, 63%, 74%)
CMYKcmyk(48.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(38.77, 41.98, -59.15)
CIE-LCHlch(38.77, 72.53, 305.37°)
OKLaboklab(49.01% 0.0589 -0.1693)
OKLCHoklch(49.01% 0.179 289.2)
XYZxyz(16.3478, 10.5264, 49.3047)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245BD #A0BD45
analogous
#4564BD #6245BD #9E45BD
triadic
#6245BD #BD6245 #45BD62
tetradic
#6245BD #BD4564 #A0BD45 #45BD9E
square
#6245BD #BD4564 #A0BD45 #45BD9E
split-complementary
#6245BD #BD9E45 #64BD45
monochromatic
#332464 #4A3491 #6245BD #8872CD #AE9FDD

Accessibility & contrast

On white

6.76
#6245BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6245BD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245BD#FFFFFF#000000##FFFFFF
##6245BD1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#44627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6245bd;
/* rgb */ color: rgb(98, 69, 189);
/* oklch */ color: oklch(49.0% 0.179 289.2);
Tailwind
colors: {
  custom: {
    50: '#967ad2',
    500: '#6245bd',
    950: '#000000',
  },
}
SCSS
$custom: #6245bd;
$custom-light: #967ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6245bd",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 254.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.17927,
    "h": 289.2
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#6245BD
secondary
#BDCA94
accent
#D751B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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