#7270F7#7270F7

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

Color values

HEX#7270F7
RGBrgb(114, 112, 247)
HSLhsl(241, 89%, 70%)
HSVhsv(241, 55%, 97%)
CMYKcmyk(53.8%, 54.7%, 0%, 3.1%)
CIE-LABlab(53.90, 37.31, -67.63)
CIE-LCHlch(53.90, 77.24, 298.88°)
OKLaboklab(61.76% 0.0329 -0.1936)
OKLCHoklch(61.76% 0.196 279.6)
XYZxyz(29.5169, 21.8793, 90.6454)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7270F7 #F5F770
analogous
#70B1F7 #7270F7 #B570F7
triadic
#7270F7 #F77270 #70F772
tetradic
#7270F7 #F770B1 #F5F770 #70F7B5
square
#7270F7 #F770B1 #F5F770 #70F7B5
split-complementary
#7270F7 #F7B570 #B1F770
monochromatic
#100DE0 #3936F4 #7270F7 #ABAAFA #E2E2FD

Accessibility & contrast

On white

3.91
#7270F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7270F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7270F7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7270F7#FFFFFF#000000##000000
##7270F71.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1186FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#338FA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7270f7;
/* rgb */ color: rgb(114, 112, 247);
/* oklch */ color: oklch(61.8% 0.196 279.6);
Tailwind
colors: {
  custom: {
    50: '#a499fb',
    500: '#7270f7',
    950: '#000000',
  },
}
SCSS
$custom: #7270f7;
$custom-light: #a499fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7270f7",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 240.889,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.19638,
    "h": 279.6
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7270F7

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

Preview Lab → · Contrast checker → · Palette generator →

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