#6252FF#6252FF

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

Color values

HEX#6252FF
RGBrgb(98, 82, 255)
HSLhsl(246, 100%, 66%)
HSVhsv(246, 68%, 100%)
CMYKcmyk(61.6%, 67.8%, 0%, 0%)
CIE-LABlab(46.78, 54.40, -83.73)
CIE-LCHlch(46.78, 99.85, 303.01°)
OKLaboklab(56.43% 0.0393 -0.2414)
OKLCHoklch(56.43% 0.245 279.2)
XYZxyz(26.0985, 15.8492, 96.2722)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252FF #EFFF52
analogous
#5298FF #6252FF #B852FF
triadic
#6252FF #FF6252 #52FF62
tetradic
#6252FF #FF5298 #EFFF52 #52FFB8
square
#6252FF #FF5298 #EFFF52 #52FFB8
split-complementary
#6252FF #FFB852 #98FF52
monochromatic
#1400D7 #2A15FF #6252FF #9A8FFF #D1CCFF

Accessibility & contrast

On white

5.04
#6252FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6252FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252FF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252FF#FFFFFF#000000##FFFFFF
##6252FF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6252ff;
/* rgb */ color: rgb(98, 82, 255);
/* oklch */ color: oklch(56.4% 0.245 279.2);
Tailwind
colors: {
  custom: {
    50: '#9f84ff',
    500: '#6252ff',
    950: '#000000',
  },
}
SCSS
$custom: #6252ff;
$custom-light: #9f84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6252ff",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 245.549,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.24463,
    "h": 279.2
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6252FF

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

Preview Lab → · Contrast checker → · Palette generator →

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