#7262D8#7262D8

#7262D8 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.174 H 285.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7262D8
RGBrgb(114, 98, 216)
HSLhsl(248, 60%, 62%)
HSVhsv(248, 55%, 85%)
CMYKcmyk(47.2%, 54.6%, 0%, 15.3%)
CIE-LABlab(48.60, 36.26, -58.77)
CIE-LCHlch(48.60, 69.05, 301.67°)
OKLaboklab(57.17% 0.0471 -0.1676)
OKLCHoklch(57.17% 0.174 285.7)
XYZxyz(23.6981, 17.2696, 67.0371)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262D8 #C8D862
analogous
#628DD8 #7262D8 #AD62D8
triadic
#7262D8 #D87262 #62D872
tetradic
#7262D8 #D8628D #C8D862 #62D8AD
square
#7262D8 #D8628D #C8D862 #62D8AD
split-complementary
#7262D8 #D8AD62 #8DD862
monochromatic
#362699 #4732CA #7262D8 #9E93E4 #CAC4F0

Accessibility & contrast

On white

4.71
#7262D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7262D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262D8#FFFFFF#000000##FFFFFF
##7262D81.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DC
Deuteranopia (green-blind)
#1A70D5
Tritanopia (blue-blind)
#4F7C93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7262d8;
/* rgb */ color: rgb(114, 98, 216);
/* oklch */ color: oklch(57.2% 0.174 285.7);
Tailwind
colors: {
  custom: {
    50: '#a18fe5',
    500: '#7262d8',
    950: '#000000',
  },
}
SCSS
$custom: #7262d8;
$custom-light: #a18fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7262d8",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 248.136,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.17411,
    "h": 285.7
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#7262D8
secondary
#DBE1B5
accent
#C81EB1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7262D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7262D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva