#7064E2#7064E2

#7064E2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 58.0% C 0.185 H 283.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7064E2
RGBrgb(112, 100, 226)
HSLhsl(246, 68%, 64%)
HSVhsv(246, 56%, 89%)
CMYKcmyk(50.4%, 55.8%, 0%, 11.4%)
CIE-LABlab(49.56, 37.63, -62.90)
CIE-LCHlch(49.56, 73.30, 300.89°)
OKLaboklab(58.05% 0.0426 -0.1798)
OKLCHoklch(58.05% 0.185 283.3)
XYZxyz(24.9626, 18.0487, 74.1052)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064E2 #D6E264
analogous
#6497E2 #7064E2 #AF64E2
triadic
#7064E2 #E27064 #64E270
tetradic
#7064E2 #E26497 #D6E264 #64E2AF
square
#7064E2 #E26497 #D6E264 #64E2AF
split-complementary
#7064E2 #E2AF64 #97E264
monochromatic
#2D20AC #4030D8 #7064E2 #A098EC #CFCBF5

Accessibility & contrast

On white

4.56
#7064E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7064E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7064E2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064E2#FFFFFF#000000##000000
##7064E21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7AE6
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#448199
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7064e2;
/* rgb */ color: rgb(112, 100, 226);
/* oklch */ color: oklch(58.0% 0.185 283.3);
Tailwind
colors: {
  custom: {
    50: '#a190ec',
    500: '#7064e2',
    950: '#000000',
  },
}
SCSS
$custom: #7064e2;
$custom-light: #a190ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7064e2",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 245.714,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.18479,
    "h": 283.3
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#7064E2
secondary
#E3E7BB
accent
#D015BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7064E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7064E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva