#702FB1#702FB1

#702FB1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.194 H 302.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#702FB1
RGBrgb(112, 47, 177)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.7%, 73.4%, 0%, 30.6%)
CIE-LABlab(35.31, 52.80, -57.63)
CIE-LCHlch(35.31, 78.16, 312.50°)
OKLaboklab(46.59% 0.1029 -0.1643)
OKLCHoklch(46.59% 0.194 302.1)
XYZxyz(15.6325, 8.6520, 42.4329)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB1 #70B12F
analogous
#2F2FB1 #702FB1 #B12FB1
triadic
#702FB1 #B1702F #2FB170
tetradic
#702FB1 #B12F2F #70B12F #2FB1B1
square
#702FB1 #B12F2F #70B12F #2FB1B1
split-complementary
#702FB1 #B1B12F #2FB12F
monochromatic
#331550 #512281 #702FB1 #8F4DD0 #AD7EDD

Accessibility & contrast

On white

7.69
#702FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#702FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB1
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB1#FFFFFF#000000##FFFFFF
##702FB11.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#624F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702fb1;
/* rgb */ color: rgb(112, 47, 177);
/* oklch */ color: oklch(46.6% 0.194 302.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ec9',
    500: '#702fb1',
    950: '#000000',
  },
}
SCSS
$custom: #702fb1;
$custom-light: #9f6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb1",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.19387,
    "h": 302.1
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#702FB1
secondary
#9EC576
accent
#E14794
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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