#705CEC#705CEC

#705CEC is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.208 H 284.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#705CEC
RGBrgb(112, 92, 236)
HSLhsl(248, 79%, 64%)
HSVhsv(248, 61%, 93%)
CMYKcmyk(52.5%, 61%, 0%, 7.5%)
CIE-LABlab(48.45, 45.28, -70.32)
CIE-LCHlch(48.45, 83.63, 302.78°)
OKLaboklab(57.46% 0.0505 -0.2017)
OKLCHoklch(57.46% 0.208 284.1)
XYZxyz(25.6450, 17.1537, 81.3003)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#705CEC #D8EC5C
analogous
#5C90EC #705CEC #B85CEC
triadic
#705CEC #EC705C #5CEC70
tetradic
#705CEC #EC5C90 #D8EC5C #5CECB8
square
#705CEC #EC5C90 #D8EC5C #5CECB8
split-complementary
#705CEC #ECB85C #90EC5C
monochromatic
#2C15B8 #4025E6 #705CEC #A093F2 #D0CAF9

Accessibility & contrast

On white

4.74
#705CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#705CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #705CEC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##705CEC#FFFFFF#000000##FFFFFF
##705CEC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#3C7F9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #705cec;
/* rgb */ color: rgb(112, 92, 236);
/* oklch */ color: oklch(57.5% 0.208 284.1);
Tailwind
colors: {
  custom: {
    50: '#a38bf3',
    500: '#705cec',
    950: '#000000',
  },
}
SCSS
$custom: #705cec;
$custom-light: #a38bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#705cec",
  "rgb": {
    "r": 112,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 248.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.2079,
    "h": 284.1
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#705CEC
secondary
#E4EBB9
accent
#DB0ABE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #705CEC

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

Preview Lab → · Contrast checker → · Palette generator →

#705CEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva