#7270F8#7270F8

#7270F8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.8% C 0.198 H 279.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7270F8
RGBrgb(114, 112, 248)
HSLhsl(241, 91%, 71%)
HSVhsv(241, 55%, 97%)
CMYKcmyk(54%, 54.8%, 0%, 2.7%)
CIE-LABlab(53.96, 37.61, -68.08)
CIE-LCHlch(53.96, 77.78, 298.92°)
OKLaboklab(61.83% 0.0329 -0.1949)
OKLCHoklch(61.83% 0.198 279.6)
XYZxyz(29.6716, 21.9412, 91.4603)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7270F8 #F6F870
analogous
#70B2F8 #7270F8 #B670F8
triadic
#7270F8 #F87270 #70F872
tetradic
#7270F8 #F870B2 #F6F870 #70F8B6
square
#7270F8 #F870B2 #F6F870 #70F8B6
split-complementary
#7270F8 #F8B670 #B2F870
monochromatic
#0E0BE3 #3836F5 #7270F8 #ACAAFB #E2E2FE

Accessibility & contrast

On white

3.90
#7270F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7270F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7270F8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7270F8#FFFFFF#000000##000000
##7270F81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D86FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#318FA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7270f8;
/* rgb */ color: rgb(114, 112, 248);
/* oklch */ color: oklch(61.8% 0.198 279.6);
Tailwind
colors: {
  custom: {
    50: '#a499fb',
    500: '#7270f8',
    950: '#000000',
  },
}
SCSS
$custom: #7270f8;
$custom-light: #a499fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7270f8",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 240.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.19768,
    "h": 279.6
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#7270F8
secondary
#F4F4CF
accent
#E600E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7270F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7270F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva