#702FBA#702FBA

#702FBA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.203 H 299.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#702FBA
RGBrgb(112, 47, 186)
HSLhsl(268, 60%, 46%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(39.8%, 74.7%, 0%, 27.1%)
CIE-LABlab(36.03, 55.00, -61.78)
CIE-LCHlch(36.03, 82.72, 311.68°)
OKLaboklab(47.33% 0.101 -0.1765)
OKLCHoklch(47.33% 0.203 299.8)
XYZxyz(16.5593, 9.0228, 47.3140)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FBA #79BA2F
analogous
#2F33BA #702FBA #B62FBA
triadic
#702FBA #BA702F #2FBA70
tetradic
#702FBA #BA2F33 #79BA2F #2FBAB6
square
#702FBA #BA2F33 #79BA2F #2FBAB6
split-complementary
#702FBA #BAB62F #33BA2F
monochromatic
#351658 #532389 #702FBA #8F53D3 #AF84E0

Accessibility & contrast

On white

7.49
#702FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702FBA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FBA#FFFFFF#000000##FFFFFF
##702FBA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#5F5372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702fba;
/* rgb */ color: rgb(112, 47, 186);
/* oklch */ color: oklch(47.3% 0.203 299.8);
Tailwind
colors: {
  custom: {
    50: '#a06ed0',
    500: '#702fba',
    950: '#000000',
  },
}
SCSS
$custom: #702fba;
$custom-light: #a06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#702fba",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 268.058,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.20334,
    "h": 299.8
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#702FBA
secondary
#A5C97C
accent
#E34599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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