#705FB2#705FB2

#705FB2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.0% C 0.127 H 291.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#705FB2
RGBrgb(112, 95, 178)
HSLhsl(252, 35%, 54%)
HSVhsv(252, 47%, 70%)
CMYKcmyk(37.1%, 46.6%, 0%, 30.2%)
CIE-LABlab(45.42, 26.63, -41.95)
CIE-LCHlch(45.42, 49.69, 302.41°)
OKLaboklab(54.02% 0.0453 -0.1183)
OKLCHoklch(54.02% 0.127 291)
XYZxyz(18.8080, 14.8430, 43.9849)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#705FB2 #A1B25F
analogous
#5F77B2 #705FB2 #995FB2
triadic
#705FB2 #B2705F #5FB270
tetradic
#705FB2 #B25F77 #A1B25F #5FB299
square
#705FB2 #B25F77 #A1B25F #5FB299
split-complementary
#705FB2 #B2995F #77B25F
monochromatic
#3C3166 #54458F #705FB2 #9588C6 #BAB2DA

Accessibility & contrast

On white

5.29
#705FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#705FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #705FB2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##705FB2#FFFFFF#000000##FFFFFF
##705FB21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#5F6F80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #705fb2;
/* rgb */ color: rgb(112, 95, 178);
/* oklch */ color: oklch(54.0% 0.127 291.0);
Tailwind
colors: {
  custom: {
    50: '#9c8cc9',
    500: '#705fb2',
    950: '#000000',
  },
}
SCSS
$custom: #705fb2;
$custom-light: #9c8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#705fb2",
  "rgb": {
    "r": 112,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 252.289,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.12674,
    "h": 291
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#705FB2
secondary
#C1C8A5
accent
#CB5DB4
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #705FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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