#705BCB#705BCB

#705BCB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.167 H 288.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#705BCB
RGBrgb(112, 91, 203)
HSLhsl(251, 52%, 58%)
HSVhsv(251, 55%, 80%)
CMYKcmyk(44.8%, 55.2%, 0%, 20.4%)
CIE-LABlab(45.96, 36.16, -55.59)
CIE-LCHlch(45.96, 66.32, 303.05°)
OKLaboklab(54.9% 0.0523 -0.1584)
OKLCHoklch(54.9% 0.167 288.3)
XYZxyz(21.1996, 15.2379, 58.3125)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#705BCB #B6CB5B
analogous
#5B7ECB #705BCB #A85BCB
triadic
#705BCB #CB705B #5BCB70
tetradic
#705BCB #CB5B7E #B6CB5B #5BCBA8
square
#705BCB #CB5B7E #B6CB5B #5BCBA8
split-complementary
#705BCB #CBA85B #7ECB5B
monochromatic
#3A2982 #4F38B1 #705BCB #9989DA #C1B8E8

Accessibility & contrast

On white

5.19
#705BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#705BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #705BCB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##705BCB#FFFFFF#000000##FFFFFF
##705BCB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCF
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#54738A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #705bcb;
/* rgb */ color: rgb(112, 91, 203);
/* oklch */ color: oklch(54.9% 0.167 288.3);
Tailwind
colors: {
  custom: {
    50: '#9f8adb',
    500: '#705bcb',
    950: '#000000',
  },
}
SCSS
$custom: #705bcb;
$custom-light: #9f8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#705bcb",
  "rgb": {
    "r": 112,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 251.25,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.16679,
    "h": 288.3
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#705BCB
secondary
#CFD7AA
accent
#DB4CC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #705BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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