#702FB0#702FB0

#702FB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.193 H 302.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#702FB0
RGBrgb(112, 47, 176)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.4%, 73.3%, 0%, 31%)
CIE-LABlab(35.23, 52.56, -57.16)
CIE-LCHlch(35.23, 77.65, 312.60°)
OKLaboklab(46.51% 0.1031 -0.1629)
OKLCHoklch(46.51% 0.193 302.3)
XYZxyz(15.5332, 8.6123, 41.9099)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB0 #6FB02F
analogous
#2F2FB0 #702FB0 #B02FAF
triadic
#702FB0 #B0702F #2FB070
tetradic
#702FB0 #B02F2F #6FB02F #2FAFB0
square
#702FB0 #B02F2F #6FB02F #2FAFB0
split-complementary
#702FB0 #AFB02F #2FB02F
monochromatic
#33154F #512280 #702FB0 #8F4DCF #AD7DDC

Accessibility & contrast

On white

7.71
#702FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#702FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB0#FFFFFF#000000##FFFFFF
##702FB01.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#634F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702fb0;
/* rgb */ color: rgb(112, 47, 176);
/* oklch */ color: oklch(46.5% 0.193 302.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ec8',
    500: '#702fb0',
    950: '#000000',
  },
}
SCSS
$custom: #702fb0;
$custom-light: #9f6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb0",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 270.233,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.19282,
    "h": 302.3
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#702FB0
secondary
#9DC576
accent
#E14793
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FB0

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

Preview Lab → · Contrast checker → · Palette generator →

#702FB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva