#7230B5#7230B5

#7230B5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.197 H 301.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7230B5
RGBrgb(114, 48, 181)
HSLhsl(270, 58%, 45%)
HSVhsv(270, 73%, 71%)
CMYKcmyk(37%, 73.5%, 0%, 29%)
CIE-LABlab(36.04, 53.69, -58.80)
CIE-LCHlch(36.04, 79.63, 312.40°)
OKLaboklab(47.26% 0.104 -0.1677)
OKLCHoklch(47.26% 0.197 301.8)
XYZxyz(16.3349, 9.0274, 44.5890)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230B5 #73B530
analogous
#3031B5 #7230B5 #B430B5
triadic
#7230B5 #B57230 #30B572
tetradic
#7230B5 #B53031 #73B530 #30B5B4
square
#7230B5 #B53031 #73B530 #30B5B4
split-complementary
#7230B5 #B5B430 #31B530
monochromatic
#351654 #542385 #7230B5 #9151D1 #AF82DE

Accessibility & contrast

On white

7.49
#7230B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7230B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230B5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230B5#FFFFFF#000000##FFFFFF
##7230B51.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#645170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7230b5;
/* rgb */ color: rgb(114, 48, 181);
/* oklch */ color: oklch(47.3% 0.197 301.8);
Tailwind
colors: {
  custom: {
    50: '#a06fcc',
    500: '#7230b5',
    950: '#000000',
  },
}
SCSS
$custom: #7230b5;
$custom-light: #a06fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7230b5",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 269.774,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47264,
    "c": 0.19731,
    "h": 301.8
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#7230B5
secondary
#A1C77A
accent
#E14694
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7230B5

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

Preview Lab → · Contrast checker → · Palette generator →

#7230B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva