#6062F6#6062F6

#6062F6 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.0% C 0.216 H 276.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6062F6
RGBrgb(96, 98, 246)
HSLhsl(239, 89%, 67%)
HSVhsv(239, 61%, 96%)
CMYKcmyk(61%, 60.2%, 0%, 3.5%)
CIE-LABlab(49.34, 42.18, -74.52)
CIE-LCHlch(49.34, 85.63, 299.51°)
OKLaboklab(58.04% 0.0253 -0.2144)
OKLCHoklch(58.04% 0.216 276.7)
XYZxyz(25.8207, 17.8739, 89.2602)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062F6 #F6F460
analogous
#60ADF6 #6062F6 #A960F6
triadic
#6062F6 #F66062 #62F660
tetradic
#6062F6 #F660AD #F6F460 #60F6A9
square
#6062F6 #F660AD #F6F460 #60F6A9
split-complementary
#6062F6 #F6A960 #ADF660
monochromatic
#0C0ED0 #2629F3 #6062F6 #9A9BF9 #D4D4FD

Accessibility & contrast

On white

4.59
#6062F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6062F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6062F6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062F6#FFFFFF#000000##FFFFFF
##6062F61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6062f6;
/* rgb */ color: rgb(96, 98, 246);
/* oklch */ color: oklch(58.0% 0.216 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b8ffa',
    500: '#6062f6',
    950: '#000000',
  },
}
SCSS
$custom: #6062f6;
$custom-light: #9b8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#6062f6",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 239.2,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.21593,
    "h": 276.7
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#6062F6
secondary
#F1F0C1
accent
#E200E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6062F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva