#6254DE#6254DE

#6254DE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.202 H 281.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6254DE
RGBrgb(98, 84, 222)
HSLhsl(246, 68%, 60%)
HSVhsv(246, 62%, 87%)
CMYKcmyk(55.9%, 62.2%, 0%, 12.9%)
CIE-LABlab(44.53, 43.21, -68.83)
CIE-LCHlch(44.53, 81.27, 302.12°)
OKLaboklab(53.99% 0.0414 -0.1977)
OKLCHoklch(53.99% 0.202 281.8)
XYZxyz(21.3881, 14.2099, 70.7088)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6254DE #D0DE54
analogous
#548BDE #6254DE #A754DE
triadic
#6254DE #DE6254 #54DE62
tetradic
#6254DE #DE548B #D0DE54 #54DEA7
square
#6254DE #DE548B #D0DE54 #54DEA7
split-complementary
#6254DE #DEA754 #8BDE54
monochromatic
#2A1E9A #3828CD #6254DE #9187E8 #C0BBF2

Accessibility & contrast

On white

5.47
#6254DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6254DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6254DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6254DE#FFFFFF#000000##FFFFFF
##6254DE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#227691
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6254de;
/* rgb */ color: rgb(98, 84, 222);
/* oklch */ color: oklch(54.0% 0.202 281.8);
Tailwind
colors: {
  custom: {
    50: '#9a85e9',
    500: '#6254de',
    950: '#000000',
  },
}
SCSS
$custom: #6254de;
$custom-light: #9a85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6254de",
  "rgb": {
    "r": 98,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 246.087,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.20203,
    "h": 281.8
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#6254DE
secondary
#DCE1AC
accent
#EB3DD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6254DE

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

Preview Lab → · Contrast checker → · Palette generator →

#6254DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva