#6152C7#6152C7

#6152C7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.175 H 284.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6152C7
RGBrgb(97, 82, 199)
HSLhsl(248, 51%, 55%)
HSVhsv(248, 59%, 78%)
CMYKcmyk(51.3%, 58.8%, 0%, 22%)
CIE-LABlab(42.31, 37.15, -59.25)
CIE-LCHlch(42.31, 69.93, 302.09°)
OKLaboklab(51.8% 0.0432 -0.1696)
OKLCHoklch(51.8% 0.175 284.3)
XYZxyz(18.2528, 12.6985, 55.5110)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152C7 #B8C752
analogous
#527EC7 #6152C7 #9B52C7
triadic
#6152C7 #C76152 #52C761
tetradic
#6152C7 #C7527E #B8C752 #52C79B
square
#6152C7 #C7527E #B8C752 #52C79B
split-complementary
#6152C7 #C79B52 #7EC752
monochromatic
#312778 #4436A6 #6152C7 #8B80D6 #B5AEE5

Accessibility & contrast

On white

5.93
#6152C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6152C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152C7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152C7#FFFFFF#000000##FFFFFF
##6152C71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#396D84
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6152c7;
/* rgb */ color: rgb(97, 82, 199);
/* oklch */ color: oklch(51.8% 0.175 284.3);
Tailwind
colors: {
  custom: {
    50: '#9683d9',
    500: '#6152c7',
    950: '#000000',
  },
}
SCSS
$custom: #6152c7;
$custom-light: #9683d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6152c7",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 247.692,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.17503,
    "h": 284.3
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#6152C7
secondary
#CDD3A2
accent
#DB4DC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6152C7

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

Preview Lab → · Contrast checker → · Palette generator →

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