#6152F3#6152F3

#6152F3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.230 H 279.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6152F3
RGBrgb(97, 82, 243)
HSLhsl(246, 87%, 64%)
HSVhsv(246, 66%, 95%)
CMYKcmyk(60.1%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.70, 50.62, -78.79)
CIE-LCHlch(45.70, 93.65, 302.72°)
OKLaboklab(55.33% 0.0397 -0.227)
OKLCHoklch(55.33% 0.23 279.9)
XYZxyz(24.1196, 15.0453, 86.4097)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152F3 #E4F352
analogous
#5293F3 #6152F3 #B152F3
triadic
#6152F3 #F36152 #52F361
tetradic
#6152F3 #F35293 #E4F352 #52F3B1
square
#6152F3 #F35293 #E4F352 #52F3B1
split-complementary
#6152F3 #F3B152 #93F352
monochromatic
#1E0DBD #2D19EF #6152F3 #958BF7 #CAC4FB

Accessibility & contrast

On white

5.24
#6152F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6152F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152F3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152F3#FFFFFF#000000##FFFFFF
##6152F31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6152f3;
/* rgb */ color: rgb(97, 82, 243);
/* oklch */ color: oklch(55.3% 0.230 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c84f8',
    500: '#6152f3',
    950: '#000000',
  },
}
SCSS
$custom: #6152f3;
$custom-light: #9c84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6152f3",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 245.59,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.23048,
    "h": 279.9
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#6152F3
secondary
#E7EDB4
accent
#E402CF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6152F3

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

Preview Lab → · Contrast checker → · Palette generator →

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