#6255D7#6255D7

#6255D7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.6% C 0.192 H 282.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6255D7
RGBrgb(98, 85, 215)
HSLhsl(246, 62%, 59%)
HSVhsv(246, 60%, 84%)
CMYKcmyk(54.4%, 60.5%, 0%, 15.7%)
CIE-LABlab(44.23, 40.47, -65.33)
CIE-LCHlch(44.23, 76.84, 301.78°)
OKLaboklab(53.6% 0.0409 -0.1874)
OKLCHoklch(53.6% 0.192 282.3)
XYZxyz(20.5475, 13.9987, 65.8961)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255D7 #CAD755
analogous
#5589D7 #6255D7 #A355D7
triadic
#6255D7 #D76255 #55D762
tetradic
#6255D7 #D75589 #CAD755 #55D7A3
square
#6255D7 #D75589 #CAD755 #55D7A3
split-complementary
#6255D7 #D7A355 #89D755
monochromatic
#2D2290 #3C2DC1 #6255D7 #9087E3 #BEB8EE

Accessibility & contrast

On white

5.53
#6255D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6255D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255D7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255D7#FFFFFF#000000##FFFFFF
##6255D71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#2C748E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6255d7;
/* rgb */ color: rgb(98, 85, 215);
/* oklch */ color: oklch(53.6% 0.192 282.3);
Tailwind
colors: {
  custom: {
    50: '#9885e4',
    500: '#6255d7',
    950: '#000000',
  },
}
SCSS
$custom: #6255d7;
$custom-light: #9885e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6255d7",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 246,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.19184,
    "h": 282.3
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

primary
#6255D7
secondary
#D8DEAA
accent
#E543D5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #6255D7

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

Preview Lab → · Contrast checker → · Palette generator →

#6255D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva