#702FB2#702FB2

#702FB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.195 H 301.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#702FB2
RGBrgb(112, 47, 178)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(37.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(35.38, 53.05, -58.09)
CIE-LCHlch(35.38, 78.67, 312.40°)
OKLaboklab(46.67% 0.1027 -0.1657)
OKLCHoklch(46.67% 0.195 301.8)
XYZxyz(15.7326, 8.6921, 42.9597)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB2 #71B22F
analogous
#2F30B2 #702FB2 #B22FB2
triadic
#702FB2 #B2702F #2FB270
tetradic
#702FB2 #B22F30 #71B22F #2FB2B2
square
#702FB2 #B22F30 #71B22F #2FB2B2
split-complementary
#702FB2 #B2B22F #30B22F
monochromatic
#331551 #522282 #702FB2 #8F4ED0 #AD7EDD

Accessibility & contrast

On white

7.67
#702FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#702FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB2#FFFFFF#000000##FFFFFF
##702FB21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#62506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702fb2;
/* rgb */ color: rgb(112, 47, 178);
/* oklch */ color: oklch(46.7% 0.195 301.8);
Tailwind
colors: {
  custom: {
    50: '#9f6eca',
    500: '#702fb2',
    950: '#000000',
  },
}
SCSS
$custom: #702fb2;
$custom-light: #9f6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb2",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 269.771,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.19493,
    "h": 301.8
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#702FB2
secondary
#9FC677
accent
#E14694
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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