#6152FF#6152FF

#6152FF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.4% C 0.245 H 278.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6152FF
RGBrgb(97, 82, 255)
HSLhsl(245, 100%, 66%)
HSVhsv(245, 68%, 100%)
CMYKcmyk(62%, 67.8%, 0%, 0%)
CIE-LABlab(46.70, 54.27, -83.85)
CIE-LCHlch(46.70, 99.88, 302.91°)
OKLaboklab(56.36% 0.0381 -0.2418)
OKLCHoklch(56.36% 0.245 278.9)
XYZxyz(25.9913, 15.7939, 96.2672)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152FF #F0FF52
analogous
#5299FF #6152FF #B752FF
triadic
#6152FF #FF6152 #52FF61
tetradic
#6152FF #FF5299 #F0FF52 #52FFB7
square
#6152FF #FF5299 #F0FF52 #52FFB7
split-complementary
#6152FF #FFB752 #99FF52
monochromatic
#1300D7 #2915FF #6152FF #998FFF #D1CCFF

Accessibility & contrast

On white

5.05
#6152FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6152FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152FF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152FF#FFFFFF#000000##FFFFFF
##6152FF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6152ff;
/* rgb */ color: rgb(97, 82, 255);
/* oklch */ color: oklch(56.4% 0.245 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e84ff',
    500: '#6152ff',
    950: '#000000',
  },
}
SCSS
$custom: #6152ff;
$custom-light: #9e84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6152ff",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 245.202,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.24481,
    "h": 278.9
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#6152FF
secondary
#EEF3BA
accent
#E600D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6152FF

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

Preview Lab → · Contrast checker → · Palette generator →

#6152FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva