#702FBD#702FBD

#702FBD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.206 H 299.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#702FBD
RGBrgb(112, 47, 189)
HSLhsl(267, 60%, 46%)
HSVhsv(267, 75%, 74%)
CMYKcmyk(40.7%, 75.1%, 0%, 25.9%)
CIE-LABlab(36.27, 55.74, -63.15)
CIE-LCHlch(36.27, 84.23, 311.43°)
OKLaboklab(47.58% 0.1002 -0.1805)
OKLCHoklch(47.58% 0.206 299)
XYZxyz(16.8816, 9.1517, 49.0113)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FBD #7CBD2F
analogous
#2F35BD #702FBD #B72FBD
triadic
#702FBD #BD702F #2FBD70
tetradic
#702FBD #BD2F35 #7CBD2F #2FBDB7
square
#702FBD #BD2F35 #7CBD2F #2FBDB7
split-complementary
#702FBD #BDB72F #35BD2F
monochromatic
#36175B #53238C #702FBD #8F55D5 #AF86E1

Accessibility & contrast

On white

7.42
#702FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#702FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FBD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FBD#FFFFFF#000000##FFFFFF
##702FBD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#5D5474
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702fbd;
/* rgb */ color: rgb(112, 47, 189);
/* oklch */ color: oklch(47.6% 0.206 299.0);
Tailwind
colors: {
  custom: {
    50: '#a06ed2',
    500: '#702fbd',
    950: '#000000',
  },
}
SCSS
$custom: #702fbd;
$custom-light: #a06ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#702fbd",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 267.465,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.20648,
    "h": 299
  },
  "luminance": 0.09152
}

Semantic roles & 50–950 ramp

primary
#702FBD
secondary
#A7CA7E
accent
#E3449B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #702FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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