#702FB7#702FB7

#702FB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.200 H 300.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#702FB7
RGBrgb(112, 47, 183)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 74%, 72%)
CMYKcmyk(38.8%, 74.3%, 0%, 28.2%)
CIE-LABlab(35.78, 54.26, -60.41)
CIE-LCHlch(35.78, 81.20, 311.93°)
OKLaboklab(47.08% 0.1016 -0.1725)
OKLCHoklch(47.08% 0.2 300.5)
XYZxyz(16.2437, 8.8965, 45.6520)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB7 #76B72F
analogous
#2F32B7 #702FB7 #B42FB7
triadic
#702FB7 #B7702F #2FB770
tetradic
#702FB7 #B72F32 #76B72F #2FB7B4
square
#702FB7 #B72F32 #76B72F #2FB7B4
split-complementary
#702FB7 #B7B42F #32B72F
monochromatic
#341656 #522286 #702FB7 #8F51D2 #AE82DF

Accessibility & contrast

On white

7.56
#702FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#702FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB7#FFFFFF#000000##FFFFFF
##702FB71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#605271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702fb7;
/* rgb */ color: rgb(112, 47, 183);
/* oklch */ color: oklch(47.1% 0.200 300.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ece',
    500: '#702fb7',
    950: '#000000',
  },
}
SCSS
$custom: #702fb7;
$custom-light: #9f6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb7",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 268.676,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.20019,
    "h": 300.5
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#702FB7
secondary
#A3C87A
accent
#E24597
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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