#702FB3#702FB3

#702FB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.196 H 301.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#702FB3
RGBrgb(112, 47, 179)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(37.4%, 73.7%, 0%, 29.8%)
CIE-LABlab(35.46, 53.29, -58.56)
CIE-LCHlch(35.46, 79.18, 312.30°)
OKLaboklab(46.75% 0.1025 -0.167)
OKLCHoklch(46.75% 0.196 301.5)
XYZxyz(15.8333, 8.7324, 43.4904)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB3 #72B32F
analogous
#2F30B3 #702FB3 #B22FB3
triadic
#702FB3 #B3702F #2FB370
tetradic
#702FB3 #B32F30 #72B32F #2FB3B2
square
#702FB3 #B32F30 #72B32F #2FB3B2
split-complementary
#702FB3 #B3B22F #30B32F
monochromatic
#331652 #522283 #702FB3 #8F4FD1 #AD7FDD

Accessibility & contrast

On white

7.65
#702FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#702FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB3#FFFFFF#000000##FFFFFF
##702FB31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#61506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702fb3;
/* rgb */ color: rgb(112, 47, 179);
/* oklch */ color: oklch(46.8% 0.196 301.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ecb',
    500: '#702fb3',
    950: '#000000',
  },
}
SCSS
$custom: #702fb3;
$custom-light: #9f6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb3",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 269.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46754,
    "c": 0.19598,
    "h": 301.5
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#702FB3
secondary
#9FC678
accent
#E24695
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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