#7270F5#7270F5

#7270F5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.194 H 279.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7270F5
RGBrgb(114, 112, 245)
HSLhsl(241, 87%, 70%)
HSVhsv(241, 54%, 96%)
CMYKcmyk(53.5%, 54.3%, 0%, 3.9%)
CIE-LABlab(53.77, 36.69, -66.73)
CIE-LCHlch(53.77, 76.15, 298.81°)
OKLaboklab(61.62% 0.0328 -0.191)
OKLCHoklch(61.62% 0.194 279.7)
XYZxyz(29.2099, 21.7565, 89.0287)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7270F5 #F3F570
analogous
#70B1F5 #7270F5 #B470F5
triadic
#7270F5 #F57270 #70F572
tetradic
#7270F5 #F570B1 #F3F570 #70F5B4
square
#7270F5 #F570B1 #F3F570 #70F5B4
split-complementary
#7270F5 #F5B470 #B1F570
monochromatic
#120FDB #3A37F1 #7270F5 #AAA9F9 #E3E2FD

Accessibility & contrast

On white

3.92
#7270F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7270F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7270F5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7270F5#FFFFFF#000000##000000
##7270F51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#358EA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7270f5;
/* rgb */ color: rgb(114, 112, 245);
/* oklch */ color: oklch(61.6% 0.194 279.7);
Tailwind
colors: {
  custom: {
    50: '#a499f9',
    500: '#7270f5',
    950: '#000000',
  },
}
SCSS
$custom: #7270f5;
$custom-light: #a499f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7270f5",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 240.902,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.61616,
    "c": 0.19376,
    "h": 279.7
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#7270F5
secondary
#F2F3CE
accent
#E302E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7270F5

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

Preview Lab → · Contrast checker → · Palette generator →

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