#6152F1#6152F1

#6152F1 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.228 H 280.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6152F1
RGBrgb(97, 82, 241)
HSLhsl(246, 85%, 63%)
HSVhsv(246, 66%, 95%)
CMYKcmyk(59.8%, 66%, 0%, 5.5%)
CIE-LABlab(45.53, 50.01, -77.94)
CIE-LCHlch(45.53, 92.61, 302.69°)
OKLaboklab(55.16% 0.04 -0.2245)
OKLCHoklch(55.16% 0.228 280.1)
XYZxyz(23.8192, 14.9251, 84.8277)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152F1 #E2F152
analogous
#5292F1 #6152F1 #B052F1
triadic
#6152F1 #F16152 #52F161
tetradic
#6152F1 #F15292 #E2F152 #52F1B0
square
#6152F1 #F15292 #E2F152 #52F1B0
split-complementary
#6152F1 #F1B052 #92F152
monochromatic
#1F0FBA #2D19EC #6152F1 #958BF6 #C8C3FA

Accessibility & contrast

On white

5.27
#6152F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6152F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152F1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152F1#FFFFFF#000000##FFFFFF
##6152F11.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0066EE
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6152f1;
/* rgb */ color: rgb(97, 82, 241);
/* oklch */ color: oklch(55.2% 0.228 280.1);
Tailwind
colors: {
  custom: {
    50: '#9c84f7',
    500: '#6152f1',
    950: '#000000',
  },
}
SCSS
$custom: #6152f1;
$custom-light: #9c84f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6152f1",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 245.66,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.22806,
    "h": 280.1
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#6152F1
secondary
#E6ECB3
accent
#E204CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6152F1

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

Preview Lab → · Contrast checker → · Palette generator →

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