#7066E7#7066E7

#7066E7 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.189 H 282.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7066E7
RGBrgb(112, 102, 231)
HSLhsl(245, 73%, 65%)
HSVhsv(245, 56%, 91%)
CMYKcmyk(51.5%, 55.8%, 0%, 9.4%)
CIE-LABlab(50.35, 37.96, -64.43)
CIE-LCHlch(50.35, 74.78, 300.51°)
OKLaboklab(58.75% 0.0405 -0.1843)
OKLCHoklch(58.75% 0.189 282.4)
XYZxyz(25.8529, 18.7156, 77.8360)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7066E7 #DDE766
analogous
#669DE7 #7066E7 #B066E7
triadic
#7066E7 #E77066 #66E770
tetradic
#7066E7 #E7669D #DDE766 #66E7B0
square
#7066E7 #E7669D #DDE766 #66E7B0
split-complementary
#7066E7 #E7B066 #9DE766
monochromatic
#281DB6 #3F31DF #7066E7 #A19BEF #D3D0F8

Accessibility & contrast

On white

4.43
#7066E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7066E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7066E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7066E7#FFFFFF#000000##000000
##7066E71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#037CEB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#3F849D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7066e7;
/* rgb */ color: rgb(112, 102, 231);
/* oklch */ color: oklch(58.7% 0.189 282.4);
Tailwind
colors: {
  custom: {
    50: '#a292ef',
    500: '#7066e7',
    950: '#000000',
  },
}
SCSS
$custom: #7066e7;
$custom-light: #a292ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7066e7",
  "rgb": {
    "r": 112,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 244.651,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.18871,
    "h": 282.4
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#7066E7
secondary
#E7EABF
accent
#D511C6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7066E7

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

Preview Lab → · Contrast checker → · Palette generator →

#7066E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva