#702FB9#702FB9

#702FB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.202 H 300.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#702FB9
RGBrgb(112, 47, 185)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(39.5%, 74.6%, 0%, 27.5%)
CIE-LABlab(35.95, 54.75, -61.33)
CIE-LCHlch(35.95, 82.21, 311.76°)
OKLaboklab(47.24% 0.1012 -0.1752)
OKLCHoklch(47.24% 0.202 300)
XYZxyz(16.4534, 8.9804, 46.7561)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB9 #78B92F
analogous
#2F33B9 #702FB9 #B52FB9
triadic
#702FB9 #B9702F #2FB970
tetradic
#702FB9 #B92F33 #78B92F #2FB9B5
square
#702FB9 #B92F33 #78B92F #2FB9B5
split-complementary
#702FB9 #B9B52F #33B92F
monochromatic
#351657 #522388 #702FB9 #8F52D3 #AF83DF

Accessibility & contrast

On white

7.51
#702FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#702FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB9#FFFFFF#000000##FFFFFF
##702FB91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#5F5272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702fb9;
/* rgb */ color: rgb(112, 47, 185);
/* oklch */ color: oklch(47.2% 0.202 300.0);
Tailwind
colors: {
  custom: {
    50: '#a06ecf',
    500: '#702fb9',
    950: '#000000',
  },
}
SCSS
$custom: #702fb9;
$custom-light: #a06ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb9",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 268.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.20228,
    "h": 300
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#702FB9
secondary
#A4C97B
accent
#E34598
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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